Fixed: Bad font default size
This commit is contained in:
parent
f06916b4fa
commit
b5fdad1d11
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue