You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by nb...@apache.org on 2008/08/15 22:15:42 UTC

svn commit: r686354 - /velocity/engine/trunk/xdocs/docs/user-guide.xml

Author: nbubna
Date: Fri Aug 15 13:15:41 2008
New Revision: 686354

URL: http://svn.apache.org/viewvc?rev=686354&view=rev
Log:
VELOCITY-455 fix error in directive escaping chapter

Modified:
    velocity/engine/trunk/xdocs/docs/user-guide.xml

Modified: velocity/engine/trunk/xdocs/docs/user-guide.xml
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/xdocs/docs/user-guide.xml?rev=686354&r1=686353&r2=686354&view=diff
==============================================================================
--- velocity/engine/trunk/xdocs/docs/user-guide.xml (original)
+++ velocity/engine/trunk/xdocs/docs/user-guide.xml Fri Aug 15 13:15:41 2008
@@ -1902,20 +1902,17 @@
 ]]></source>
 
   <p>
-  Whether <em>$jazz</em> is true or false, the output will be
+  This causes the directives to be escaped, but the rendering of <em>$jazz</em>
+  proceeds as normal.  So, if <em>$jazz</em> is true, the output is
   </p>
-
  <source><![CDATA[
- #if($ jazz )
+ #if( true )
      Vyacheslav Ganelin
  #end
  ]]></source>
 
   <p>
-  In fact, because all script elements
-  are escaped, <em>$jazz</em> is never evaluated for its boolean value.
-  Suppose
-  backslashes precede script elements that are legitimately escaped:
+  Suppose backslashes precede script elements that are legitimately escaped:
   </p>
 
 <source><![CDATA[