Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
16.10.0
-
None
-
Unknown
-
Description
Steps to reproduce:
- Open the WYSIWYG editor on any page
- Insert an information box
- Inside the box, change the paragraph format to "Formatted"
- Change the formatted text to
#{{/info}} - Save the page.
Expected result:
The information box is displayed as it was shown in the editor.
Actual result:
The output is completely broken:
While related to XRENDERING-686, this is slightly different: the issue here is not that the content would need escaping inside the verbatim syntax, the issue here is that the content inside the verbatim syntax affects the outer macro because the scan for the closing macro syntax doesn't take the verbatim syntax into account. This is similar to XRENDERING-815 except that XRENDERING-686 means that this can't be fixed by simply adding escaping for the macro syntax and this is also never a parse-render round-trip issue: there is no XWiki syntax that results in the XDOM that exposes this problem.