Changed: Do not nest hr element inside group paragraph (hr already is a group)
--HG-- branch : develop
This commit is contained in:
parent
1aeb8a3873
commit
215d7bda99
1 changed files with 2 additions and 2 deletions
|
@ -5764,7 +5764,7 @@ namespace NLGUI
|
|||
// ***************************************************************************
|
||||
void CGroupHTML::htmlHR(const CHtmlElement &elm)
|
||||
{
|
||||
newParagraph(0);
|
||||
endParagraph();
|
||||
|
||||
CInterfaceGroup *sep = CWidgetManager::getInstance()->getParser()->createGroupInstance("html_hr", "", NULL, 0);
|
||||
if (sep)
|
||||
|
@ -5787,7 +5787,7 @@ namespace NLGUI
|
|||
}
|
||||
|
||||
renderPseudoElement(":before", elm);
|
||||
getParagraph()->addChild(sep);
|
||||
addHtmlGroup(sep, 0);
|
||||
renderPseudoElement(":after", elm);
|
||||
|
||||
endParagraph();
|
||||
|
|
Loading…
Reference in a new issue