Is HTMLLayoutBase/WriterAppender correct?

Hi, If I look into the code I can see in WriterAppender writeFooter String h = layout.getFileFooter(); if ((h != null) && (this.writer != null)) { try { this.writer.write(h); String pf = layout.getPresentationFooter(); if (pf != null) { this.writer.write(pf); } And if I look into HTMLLayoutBase I see getFileFooter => </body></html> getPresentationFooter => </table> which means we are first closing the HTML and then the TABLE? I think this is a bug. Thanks & regards! Natan Cox

Natan Cox wrote:
Hi,
If I look into the code I can see in WriterAppender writeFooter
String h = layout.getFileFooter(); if ((h != null) && (this.writer != null)) { try { this.writer.write(h); String pf = layout.getPresentationFooter(); if (pf != null) { this.writer.write(pf); }
And if I look into HTMLLayoutBase I see
getFileFooter => </body></html> getPresentationFooter => </table>
which means we are first closing the HTML and then the TABLE?
I think this is a bug.
Thank you Natan. Yes, it looks like a bug. Would you care to create an issue for it?
Thanks & regards! Natan Cox
-- Ceki Gülcü
participants (2)
-
Ceki Gulcu
-
Natan Cox