Changed: Better handling of br tag
--HG-- branch : develop
This commit is contained in:
parent
e573c7b6e9
commit
e61c5937f3
1 changed files with 9 additions and 2 deletions
|
@ -5418,8 +5418,15 @@ namespace NLGUI
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
void CGroupHTML::htmlBR(const CHtmlElement &elm)
|
void CGroupHTML::htmlBR(const CHtmlElement &elm)
|
||||||
{
|
{
|
||||||
ucstring tmp("\n");
|
if (!_Paragraph || _Paragraph->getNumChildren() == 0)
|
||||||
addString(tmp);
|
{
|
||||||
|
ucstring tmp("\n");
|
||||||
|
addString(tmp);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
endParagraph();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
|
|
Loading…
Reference in a new issue