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)
|
||||
{
|
||||
ucstring tmp("\n");
|
||||
addString(tmp);
|
||||
if (!_Paragraph || _Paragraph->getNumChildren() == 0)
|
||||
{
|
||||
ucstring tmp("\n");
|
||||
addString(tmp);
|
||||
}
|
||||
else
|
||||
{
|
||||
endParagraph();
|
||||
}
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
|
|
Loading…
Reference in a new issue