velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Glass-Husain" <wglasshus...@gmail.com>
Subject Re: #noparse?
Date Tue, 05 Jun 2007 15:52:49 GMT
Have you tried

#literal

text


#end

?
It's a little quirky, but I think this might be what you need.

WILL

On 6/5/07, White, Tim <Tim.White@qwest.com> wrote:
>
> Hello!
>
> Just curious if there is a way to mark a block of JavaScript in such a
> way that Velocity doesn't try and get in there (other than manually
> escaping each possible bomb in the JS)?
>
> I've reference in the docs to a #noparse command, but in 1.4 we can't
> seem to get it to work, and it doesn't seem to be documented on the main
> site.
>
> Thanks!!!
>
> Tim
>
>
> This communication is the property of Qwest and may contain confidential
> or
> privileged information. Unauthorized use of this communication is strictly
> prohibited and may be unlawful.  If you have received this communication
> in error, please immediately notify the sender by reply e-mail and destroy
> all copies of the communication and any attachments.
>



-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message