Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
9.2-rc-1
-
None
Description
The following XWiki 2.1 syntax:
{{velocity}}{{html clean="false"}}<div>{{/html}}{{html clean="false"}}inline{{/html}}{{html clean="false"}}</div>{{/html}}{{/velocity}}
which is a sequence of 3
{{html clean="false"}}
generates the following invalid HTML:
<p><div>inline</div></p>
If you're wondering what's the use case:
{{velocity}}
{{html clean="false"}}
...
{{/html}}
$doc.display('activated') <--- this generates {{html clean="false"}}...{{/html}}
{{html clean="false"}}
...
{{/html}}
{{/velocity}}