{{code}} inside {{box}} with value <param causes WYSIWYG (sourcecode view) to add <cke:param on edit

Hello,

If i put a code macro inside a box macro and the code macro includes the content

<param

the WYSIWYG will alter the content to <cke:param (only visible in the sourcecode view or after rendering the page again).
I have the following code on a page:

= Sample =

{{box}}
{{code}}
<param></param>
{{/code}}
{{/box}}
  1. After i hit preview the following content is shown:
    Bildschirmfoto%20vom%202019-08-14%2015-34-49
  2. If i go back to edit the page i will get (“normal” WYSIWYG mode):
    Bildschirmfoto%20vom%202019-08-14%2015-36-09
  3. If i switch to WYSIWYG sourcecode view the <param will be altered:
    Bildschirmfoto%20vom%202019-08-14%2015-36-24
  4. Rendered content after step 3.
    Bildschirmfoto%20vom%202019-08-14%2015-36-39

Thank you as always for your help.

I commented on https://jira.xwiki.org/browse/CKEDITOR-100 . Not easy to fix unfortunately…

I found a solution that is working so far, but i need to do further testing to be sure.
I added the following code in the “Wiki-Administration: WYSIWYG Editor Advanced configuration tab” like you suggested it in this jira ticket:
https://jira.xwiki.org/browse/CKEDITOR-100

config.protectedSource.push( /<[\/]*?param/g ); 

Just go to your wiki administration page, click on edit > WYSIWYG Editor > scroll down to advanced configuration and add the desired regex.
Nevertheless, I need further testing to guarantee nothing else got broken by that regex.
Thank you very much for the help and have a nice day!