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
|
@ -5417,10 +5417,17 @@ namespace NLGUI
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
void CGroupHTML::htmlBR(const CHtmlElement &elm)
|
void CGroupHTML::htmlBR(const CHtmlElement &elm)
|
||||||
|
{
|
||||||
|
if (!_Paragraph || _Paragraph->getNumChildren() == 0)
|
||||||
{
|
{
|
||||||
ucstring tmp("\n");
|
ucstring tmp("\n");
|
||||||
addString(tmp);
|
addString(tmp);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
endParagraph();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
void CGroupHTML::htmlBUTTON(const CHtmlElement &elm)
|
void CGroupHTML::htmlBUTTON(const CHtmlElement &elm)
|
||||||
|
|
Loading…
Reference in a new issue