velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Cohen <sco...@javactivity.org>
Subject Re: Escaping question
Date Tue, 21 Jul 2009 02:10:58 GMT
Thanks, Nathan, that's probably the easiest way for this edge case.

Nathan Bubna wrote:
> #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
>
>
>
>   


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


Mime
View raw message