Fixed: BR element

--HG--
branch : develop
This commit is contained in:
Nimetu 2019-05-10 23:50:14 +03:00
parent d0616ac579
commit c06253a746

View file

@ -5418,11 +5418,7 @@ namespace NLGUI
// ***************************************************************************
void CGroupHTML::htmlBR(const CHtmlElement &elm)
{
endParagraph();
// insert zero-width-space (0x200B) to prevent removal of empty lines
ucstring tmp;
tmp.fromUtf8("\xe2\x80\x8b");
ucstring tmp("\n");
addString(tmp);
}