On Wed, Apr 14, 2010 at 10:44, stefan bachert <stefanbach...@yahoo.de> wrote:
> Hi,
>
> I tried to call a macro passing a text which contains both, single and double 
> qoutes
>
> {{macro para='this is "Developer's Guide" in german' /}}
> {{macro para="this is "Developer's Guide" in german" /}}
>
> Both way fails because either quote or apostroph needs to be escaped.
> I tried usual technics
> - doubling: failed
> - escaping with \ : failed
> - escaping with \\ : failed strange. introduced a line break?
>
> What is the right way to escape character?

Escaping character in xwiki/2.0 syntax is ~ and not backslash.

{{macro para='this is "Developer~'s Guide" in german' /}}
{{macro para="this is ~"Developer's Guide~" in german" /}}

>
>
> Stefan Bachert
> http://gwtworld.de
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
> gegen Massenmails.
> http://mail.yahoo.com
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to