EncodeHTML now supports line-height #1488

git-svn-id: svn://ultimatepp.org/upp/trunk@9991 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-07-01 07:48:07 +00:00
parent 2572152955
commit fbca24b45f

View file

@ -92,6 +92,8 @@ String HtmlParaStyle(const RichPara::Format& f, Zoom z)
style << HtmlStyleColor(f.ink) + HtmlFontStyle(f);
if(!IsNull(f.paper))
style << HtmlStyleColor(f.paper, "background-color");
style << decode(f.linespacing, RichPara::LSP15, "line-height:150%",
RichPara::LSP20, "line-height:200%", "");
return style;
}