Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Component/s: {Unused} Rendering 2.0
-
Labels:None
-
Environment:any
-
keywords:font tag cleaner
-
Tests:Unit
-
Similar issues:
Description
The following HTML:
<font size="5" face="Arial">foo</font>
is cleaned into:
<span style="font-family=Arial;font-size=5pt;">foo</span>
Two things have to be fixed:
- first, the CSS is well written:
font-family:Arial;font-size:5pt;
- second, the size attribute is not well translated into font-size CSS property:
size="1" -> font-size:8pt size="2" -> font-size:10pt size="3" -> font-size:12pt size="4" -> font-size:14pt size="5" -> font-size:18pt size="6" -> font-size:24pt size="7" -> font-size:36pt
Attachments
Issue Links
- relates to
-
XWIKI-3295 Font size are not handled properly
-
- Closed
-