mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
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:
parent
2572152955
commit
fbca24b45f
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue