Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
2.2.3
-
None
-
Unit
-
Unknown
-
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.