Changed: Do not nest hr element inside group paragraph (hr already is a group)

--HG--
branch : develop
kaetemi-develop
Nimetu 6 years ago
parent 1aeb8a3873
commit 215d7bda99

@ -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…
Cancel
Save