diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp
index a4290efd1..5d8e8014e 100644
--- a/code/nel/src/gui/group_html.cpp
+++ b/code/nel/src/gui/group_html.cpp
@@ -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();