Hello Velocity Developers,
        I think there is a mistake in the page:
        http://velocity.apache.org/engine/devel/user-guide.html
        
        In the "Escaping Valid VTL References "
section(http://velocity.apache.org/engine/devel/user-guide.html#escapingvali
dvtlreferences).

        Isn't the "\\\$email" should be render as "\\$email " as you explain
the bind-from-left rule later?

Original Text quotation:
        ## The following line defines $email in this template:
        #set( $email = "foo" )
        $email
        \$email
        \\$email
        \\\$email
        renders as 

        foo
        $email
        \foo
        \$email
Note that the \ character bind to the $ from the left. The bind-from-left
rule causes \\\$email to render as \\$email. Compare these examples to those
in which $email is not defined. 


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

Reply via email to