> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Vincent Massol > Sent: Friday, November 16, 2007 11:33 AM > To: XWiki Users > Subject: Re: [xwiki-users] escaping almost everything > > Hi Paul, > > On Nov 16, 2007, at 5:20 PM, Paul Grodt wrote: > > > With the exception of backslashing individual characters, is there any > > way I could prevent wiki syntax rendering, and Groovy/Velocity > > rendering? To put it another way, is there any way I can prevent > > rendering of everything BUT HTML? > > Have you seen > http://www.xwiki.org/xwiki/bin/view/UserGuide/XWikiSyntax#HEscapingText > ?
Yes I have, thank you. However, as I interpret the documentation, {pre}{/pre} still processes Groovy/Velocity code, {code}{code} doesn't evaluate HTML and forces text into the sourcecode textbox, and escaping single characters is annoying for anything beyond a line or two. (As background, I tried to edit the "Panels.SyntaxHelp" page to document some macros, and because I didn't escape it properly, it killed my system such that I could no longer edit any pages without important a backup of the SyntaxHelp page. But I consider that my fault, live and learn.) > > > As a musing, (speaking with essentially no Groovy/Velocity > > experience,) > > it would be nice to see a macro that selectively escapes each of the > > rendering methods. For example: > > > > {dontrender[:wiki][:html][:groovy][:velocity]} > > markup > > {/dontrender} > > This is planned for the future xwiki v2 architecture (no date yet). > > Thanks > -Vincent Excellent! Glad to hear it. Thanks Paul D. Grodt TECORE Wireless Systems _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users