Thanks Nathan. That's what I'm doing now but there has to be a better way. I'd like to avoid a VelocityContext lookup if possible.

Does anyone know why I'm experiencing this behavior? Why s the escape character not working in this particular use case?

Nathan Bubna wrote:
#set( $D = '$' )${D}.

On 9/19/07, Jose de Castro <[EMAIL PROTECTED]> wrote:
  
I cannot get the Velocity engine to render '$.' (a dollar sign followed
by a dot). The dollar sign is being omitted from the output. I have
tried escaping the dollar sign by writing it as '\$.' with no luck. Any
help will be greatly appreciated.

Here is some test output:

$.
\$.

renders

.
.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


    

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to