mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 17:38:44 +00:00
Changed: CGroupParagraph does not handle text with line-breaks
--HG-- branch : develop
This commit is contained in:
parent
108759952e
commit
bff8ed488e
1 changed files with 8 additions and 1 deletions
|
@ -1517,7 +1517,14 @@ namespace NLGUI
|
|||
}
|
||||
break;
|
||||
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;
|
||||
case HTML_BODY:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue