You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Nathan Bubna (JIRA)" <de...@velocity.apache.org> on 2008/08/15 22:17:44 UTC

[jira] Resolved: (VELOCITY-455) Error in chapter "Escaping VTL Directives" in the User Guide

     [ https://issues.apache.org/jira/browse/VELOCITY-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Bubna resolved VELOCITY-455.
-----------------------------------

    Resolution: Fixed

fixed in trunk for 1.6

> Error in chapter "Escaping VTL Directives" in the User Guide
> ------------------------------------------------------------
>
>                 Key: VELOCITY-455
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-455
>             Project: Velocity
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.4
>            Reporter: Bjoern Guenzel
>            Priority: Minor
>             Fix For: 1.6
>
>
> the manual says
> Consider the following case:
> \#if( $jazz ) 
> Vyacheslav Ganelin 
> \#end
> Whether $jazz is true or false, the output will be
> #if($ jazz ) 
> Vyacheslav Ganelin 
> #end
> However, since the \#if is escaped, $jazz will be evaluated, to the output will be
> #if(true)
> Vyacheslav Ganelin 
> #end
> or 
> #if(false)
> Vyacheslav Ganelin 
> #end
> respectively (depending on the value of $jazz)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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