So should I file a bug report for this?

Thanks,
Jose

Nathan Bubna wrote:
This seems to be some sort of strange parser bug you've run into.  The
escaping your trying doesn't work because it is reference escaping and
reference escaping is for escaping references, which $. is not.

You might also try
 $#**#

to avoid a context lookup.  Though, i haven't tried it, and who knows
what the parser will think of it.

On 9/19/07, Jose de Castro <[EMAIL PROTECTED]> wrote:
  
 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]
    

---------------------------------------------------------------------
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