Changed: Better handling of br tag

--HG--
branch : develop
This commit is contained in:
Nimetu 2019-05-21 23:07:30 +03:00
parent e573c7b6e9
commit e61c5937f3

View file

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