Details
-
Bug
-
Resolution: Fixed
-
Major
-
Old version in the platform
-
any
-
empty div html macro
-
Unit
-
N/A
-
N/A
-
Description
XWiki 2.0 input:
{{html}} <div id="x">before</div> <div id="y"/> <div id="z">after</div> {{/html}}
XHTML result:
<!--startmacro:html|-||-| <div id="x">before</div> <div id="y"/> <div id="z">after</div> --><div id="x">before</div> <div id="y"> <div id="z">after</div></div><!--stopmacro-->
As you can see the "empty" DIV wraps the last DIV.