Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.4.3
-
Component/s: {Unused} Rendering 2.0
-
Labels:None
-
Tests:Unit
-
Difficulty:Medium
-
Similar issues:
Description
In certain cases some styles will be lost in HTML to Syntax 2.0 conversion
This content
<html> <body> <font style="color: #ff0000"><span lang="fr-FR"><b>Hello</b></span></font> <span style="color: #ff0000"><span lang="fr-FR"><b>Hello</b></span></span> <span style="color: #ff0000"><b>Hello</b></span> </body> </html>
Converts to:
(% lang="fr-FR" %)**Hello**(%%) (% lang="fr-FR" %)**Hello**(%%) (% style="color: #ff0000" %)**Hello**
The first 2 lines don't keep the color style while the last one does.
This is particularly problematic because the first line is an example coming from an OpenOffice conversion
Attachments
Issue Links
- is duplicated by
-
XWIKI-3234 Error while parsing nested <span> elements with styles
-
- Closed
-