Hi Lewis, Lewis Denizen wrote:
Hi xwiki-users,
One small quirck with the 2.0 release - when I try something like this:
{{box title="{{info}}test{{/info}}"}}this is a test{{/box}}
the output becomes a bit screwey... Parts of the {{info}} tag gets added to the content of the box instead of into the title. It does work when the {{info}} is escaped properly:
{{box title="~{~{info~}~}test~{~{/info~}~}"}}this is a test{{/box}}
but the WYSIWYG editor doesn't escape these (and it would make things look a bit nicer if we didn't have to escape on properly-quoted parameters.. with the obvious exception of a double-quote inside a quoted-parameter :-)). So... what should the right behavior be?
IMO there shouldn't be any need for escaping the { and } inside a parameter value. It seems the XWiki 2.0 parser stops reading the parameter value when it encounters }} which I think it's a bug. Thomas should know more about it. Thanks, Marius
-- Lewis _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users