Fixed: Bad font default size

This commit is contained in:
kervala 2011-06-08 10:14:48 +02:00
parent f06916b4fa
commit b5fdad1d11

View file

@ -878,6 +878,10 @@ void CGroupHTML::beginElement (uint element_number, const BOOL *present, const c
fromString(value[HTML_FONT_SIZE], fontsize); fromString(value[HTML_FONT_SIZE], fontsize);
_FontSize.push_back(fontsize); _FontSize.push_back(fontsize);
} }
else
{
_FontSize.push_back(_FontSize.empty() ? TextFontSize : _FontSize.back());
}
} }
break; break;
case HTML_BR: case HTML_BR: