Changed: Better handling of br tag

--HG--
branch : develop
hg/compatibility-develop
Nimetu 6 years ago
parent e573c7b6e9
commit e61c5937f3

@ -5418,8 +5418,15 @@ namespace NLGUI
// ***************************************************************************
void CGroupHTML::htmlBR(const CHtmlElement &elm)
{
ucstring tmp("\n");
addString(tmp);
if (!_Paragraph || _Paragraph->getNumChildren() == 0)
{
ucstring tmp("\n");
addString(tmp);
}
else
{
endParagraph();
}
}
// ***************************************************************************

Loading…
Cancel
Save