Fixed: Wrong DD indent in nested list when tag is not closed

--HG--
branch : develop
This commit is contained in:
Nimetu 2016-01-07 01:00:48 +02:00
parent bb3726fd46
commit 511a004827

View file

@ -2273,6 +2273,9 @@ namespace NLGUI
break;
case HTML_DD:
if (!_DL.empty())
{
// parser will process two DD in a row as nested when first DD is not closed
if (_DL.back().DD)
{
if (_Indent > ULIndent)
_Indent = _Indent - ULIndent;
@ -2281,6 +2284,7 @@ namespace NLGUI
_DL.back().DD = false;
}
}
break;
case HTML_SPAN:
popIfNotEmpty (_FontSize);