Description
Confluence cannot handle macro parameter values with curly brackets consistently. On some versions some arbitrary part of the macro gets rendered in the chrome in later versions the macro is rendered as unknown in the page editor, although it actually works.
The problem is that curly braces seem to distract the parser. Therefore we need to sanitize the parameter value in case curly braces are set. This special treatment is required for the select parameter and the where parameter.