Affects Version/s: 1.10
Fix Version/s: 1.11
1. Add the following anywhere within a wiki page and save it:
2. Edit the wiki page with CKEditor.
3. Observe that
gets automatically added to the end of the page content.
Since the html macro was not actually evaluated as a macro, XWiki shouldn't be trying to close its tag in this way; it should have simply have been treated in the same way a verbatim block is treated.
An arguably even worse outcome can be obtained by using the following markup:
In this case, if you save and edit, you will have some messy transformation of the original markup appearing in CKEditor. CKEditor will then "fail to perform conversion" if you switch to Source view.
I ran into these problem cases when trying to create howto guides for the use of the html macro.