You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD></HEAD><BODY><FONTface=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
Fixed with #243, which switched HTML parsing to the HtmlKit tokenizer. The Outlook markup renders Line1 to Line4 on four lines without an extra empty line. Closing this, but feel free to reopen with a repro if it still happens with 2.0.
Activity
Licshee commentedon May 23, 2017
I want to say I'll look into it, but currently I can't do it as something happened in my family
eXpl0it3r commentedon Nov 23, 2026
Fixed with #243, which switched HTML parsing to the HtmlKit tokenizer. The Outlook markup renders Line1 to Line4 on four lines without an extra empty line. Closing this, but feel free to reopen with a repro if it still happens with 2.0.