Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.2.3
-
Fix Version/s: 2.3 M2
-
Component/s: {Unused} Rendering 2.0
-
Labels:None
-
Tests:Unit
-
Difficulty:Unknown
-
Similar issues:
Description
The following XWiki 2.0 syntax:
(% style="color:red;" %)
{{velocity}}$xwiki.version{{/velocity}}
after
Generates this HTML in view mode:
<p>2.3-SNAPSHOT.27857</p>
<p style="color:red;"></p>
<p>after</p>
Notice the empty paragraph. The style wasn't applied to the paragraph containing the macro but instead an empty paragraph was added. This works fine in 2.2.2.