Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.8.1, 1.9 M1
-
None
-
any
-
macro parameter name case sensitive
-
Unit, Integration
-
Description
The WYSIWYG editor should ignore the case in macro parameter names. Precisely, the editor should generate case sensitive parameter names but should also understand case insensitive. For instance, if you write in Wiki editor:
{{box cssclass="foo"}}bar{{/box}}
and then go to WYSIWYG and edit the box parameter you should see "foo" as the value of the cssClass parameter. The same should happen if you write:
{{box cssClass="foo"}}bar{{/box}}
Notice the came case this time. Now, If you edit the macro, apply the changes and go to Wiki editor you should get:
{{box cssClass="xyz"}}abc{{/box}}
Notice again the camel case in the parameter name.
So, detect case insensitive, but generate case sensitive.
Attachments
Issue Links
- is related to
-
XWIKI-3576 Macro parameter names with camel case style end up in lowercase in parameter descriptor map
- Closed