Fixed: Bad font default size
This commit is contained in:
parent
79f02c30d0
commit
36bb5a7202
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