Contents of Box macro become corrupt using CKEditor source view

Hi guys,

I’m running 10.11.3 and my wiki has become a little corrupted. I wonder if you can help.
When use the Box macro, and look at the Source in the CKEditor, what I see appears to be the HTML of the rendered content. For example if I add

{{box}}Hello{{/box}}

to a page and Save & View, I see the page as I expect. But if I then click on edit and look at the Source, I see:

{{box}}
<p>Hello</p>
{{/box}}

And the P tags are rendered as text in the output when I view the page normally. If I repeat the process and look again at the Source, I see

{{box}}
<p>&lt;p&gt;Hello&lt;/p&gt;</p>
{{/box}}

And so on. Do you know what I might do to fix this?
Many thanks!

Hi @Rhaedes

do you have a more systematic way to reproduce the problem? I just tried to do the following steps on a 10.11.3 fresh install and I don’t get the error:

  • Create a new empty page
  • Edit it with the wiki editor, put {{box}}Hello{{/box}} and save & view
  • Edit it with CKEditor and switch to source mode

In my case I see in source mode:

{{box}}
Hello
{{/box}}

Now I’m locally using CKEditor 1.31, could you tell us which version you use (Administration > Extensions, search for CKEditor)?

Hi @surli

Many thanks for your kind response. When I looked to see which version I had I saw that I had both 1.31 and 1.36 installed. I was unable to uninstall either with the extensions manager, so I manually removed the jars corresponding to 1.36 and restarted. This solved my issue.