Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
16.10.3
-
None
-
Unknown
-
Description
When converting the given HTML 5.0 example to XWiki 2.1 using the rendering API,
the last parenthesis of the text if (( before attributes given with (% ... %) is not escaped with ~, therefore the rendered XWiki 2.1 will be flawed.
Also, the second parametrization is missing the style part.
HTML 5.0
<span style="font-size: 12pt; font-family: Courier New, Courier New_MSFontService, monospace;">if ((</span><span style="font-size: 12pt; font-family: Courier New, Courier New_MSFontService, monospace;"><span class="SpellingError">depth_in_cm</span></span>
Converted XWiki 2.1
(% style="font-size: 12pt; font-family: Courier New, Courier New_MSFontService, monospace;" %)if (((% class="SpellingError" %)depth_in_cm