velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <nbu...@gmail.com>
Subject Re: Escaping question
Date Tue, 21 Jul 2009 00:46:53 GMT
#set( $hashes = '####' )
$hashes

single-quoted strings are not interpolated.

On Mon, Jul 20, 2009 at 12:07 PM, Steve Cohen<scohen@javactivity.org> wrote:
> Using Velocity 1.6.2 I wish to output the string "#####".
> In my template, I code it "\#\#\#\#\#"
> It renders as \#\#\#\#\#.
>
> What am I doing wrong?  Or how can I make it do what I want?
>
> Steve Cohen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message