Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
12.6.4, 13.2, 12.10.6
-
Integration
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce :
- On a fresh instance of XWiki 12.6.4, create a page, edit the page in wiki mode, and put the following content :
{{success}} |test|((( {{info}}a nested info macro{{/info}} ))) {{/success}}
- Close the editor, then edit the page in WYSIWYG mode, change "test" to something else (such as "toto"), then save and view
Expected : the success macro content stays the same, we just have the cell "test" that is renamed into "toto"
Actual : the info macro that was in the table disappeared when saving the document.
You can also see this issue when clicking on the "Source" button of the WYSIWYG editor : the wiki content that is shown is different from the actual document content, and looks like this :
{{success}} |test| {{/success}}
It seems that the conversion of the annotated HTML content of the WYSIWYG editor to the XWiki syntax fails and removes the info macro (and its content) from the end result.
I'm opening the issue as part of the XWIKI project, feel free to move it to CKEDITOR if needed.