Changed: CGroupParagraph does not handle text with line-breaks

--HG--
branch : develop
hg/compatibility-develop
Nimetu 8 years ago
parent 108759952e
commit bff8ed488e

@ -1517,7 +1517,14 @@ namespace NLGUI
} }
break; break;
case HTML_BR: case HTML_BR:
addString(ucstring ("\n")); {
endParagraph();
// insert zero-width-space (0x200B) to prevent removal of empty lines
ucstring tmp;
tmp.fromUtf8("\xe2\x80\x8b");
addString(tmp);
}
break; break;
case HTML_BODY: case HTML_BODY:
{ {

Loading…
Cancel
Save