diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp
index 38d76bf560..5e0358f066 100644
--- a/src/html/winpars.cpp
+++ b/src/html/winpars.cpp
@@ -146,7 +146,7 @@ wxObject* wxHtmlWinParser::GetProduct()
CloseContainer();
OpenContainer();
- GetContainer() -> SetIndent(m_CharHeight, wxHTML_INDENT_TOP);
+
top = m_Container;
while (top -> GetParent()) top = top -> GetParent();
return top;