Fixed: BR element
--HG-- branch : develop
This commit is contained in:
parent
d0616ac579
commit
c06253a746
1 changed files with 1 additions and 5 deletions
|
@ -5418,11 +5418,7 @@ namespace NLGUI
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
void CGroupHTML::htmlBR(const CHtmlElement &elm)
|
void CGroupHTML::htmlBR(const CHtmlElement &elm)
|
||||||
{
|
{
|
||||||
endParagraph();
|
ucstring tmp("\n");
|
||||||
|
|
||||||
// insert zero-width-space (0x200B) to prevent removal of empty lines
|
|
||||||
ucstring tmp;
|
|
||||||
tmp.fromUtf8("\xe2\x80\x8b");
|
|
||||||
addString(tmp);
|
addString(tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue