Details
-
Improvement
-
Resolution: Fixed
-
Major
-
11.2
-
None
-
Integration
-
Unknown
-
N/A
-
N/A
-
Description
We do not support redundant non-generated content div when handling Macro content. So for example in a code such as:
<!--startmacro:box|-|Old content--> <div class="box"> <div data-xwiki-non-generated-content="java.util.List<org.xwiki.rendering.block.Block>" class="xwiki-metadata-container"> <div data-xwiki-non-generated-content="java.util.List<org.xwiki.rendering.block.Block>" class="xwiki-metadata-container"> <p>Some content</p> </div> </div> </div> <!--stopmacro-->
all the content will be ignored right now. I propose to fix that to ignore those redundant unchanged-content div in such case.
This can be especially helpful for XWIKI-16389 when adding a wikimacro inline editable content inside another inline editable macro, such as a box.