HTML-Renderer
HTML-Renderer copied to clipboard
multiple line breaks inside font tag with br
The following html will not rendered correctly:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD></HEAD>
<BODY>
<FONT face=Arial>
<DIV>Line1<BR></DIV>
Line2<BR>
Line3
<DIV>Line4</DIV>
</FONT>
</BODY>
</HTML>
I know this is very ugly html. This is from Microsoft Outlook.
Output: (the browser on the right is chrome)

If you remove the first br tag (inside the div tag) it renders as expected