[xwiki-users] Quoting in macro calls
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? 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
On Wed, Apr 14, 2010 at 10:44, stefan bachert <[email protected]> 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (2)
-
stefan bachert -
Thomas Mortagne