Author: cbrisson
Date: Wed Feb 7 08:48:13 2018
New Revision: 1823441
URL: http://svn.apache.org/viewvc?rev=1823441&view=rev
Log:
[site] Fix #if section (issue #VELOCITY-890)
Modified:
velocity/site/cms/trunk/content/engine/2.0/user-guide.mdtext
velocity/site/cms/trunk/content/engine/devel/user-guide.mdtext
Modified: velocity/site/cms/trunk/content/engine/2.0/user-guide.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/2.0/user-guide.mdtext?rev=1823441&r1=1823440&r2=1823441&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/2.0/user-guide.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/2.0/user-guide.mdtext Wed Feb 7
08:48:13 2018
@@ -504,7 +504,7 @@ The variable *$foo* is evaluated to dete
+ *$foo* is a boolean (true/false) which has a true value
+ *$foo* is a string or a collection which is not null **and** not empty
-+ *$foo* is a number which equals to zero
++ *$foo* is a number which is not equal to zero
+ *$foo* is an object (other than a string, a number or a collection) which is
not null
(please note that this is the default behavior, but Velocity can be configured
to [skip all checks beyond boolean and nullity
ones](configuration.html#if-directive)).
Modified: velocity/site/cms/trunk/content/engine/devel/user-guide.mdtext
URL:
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/user-guide.mdtext?rev=1823441&r1=1823440&r2=1823441&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/user-guide.mdtext (original)
+++ velocity/site/cms/trunk/content/engine/devel/user-guide.mdtext Wed Feb 7
08:48:13 2018
@@ -504,7 +504,7 @@ The variable *$foo* is evaluated to dete
+ *$foo* is a boolean (true/false) which has a true value
+ *$foo* is a string or a collection which is not null **and** not empty
-+ *$foo* is a number which equals to zero
++ *$foo* is a number which is not equal to zero
+ *$foo* is an object (other than a string, a number or a collection) which is
not null
(please note that this is the default behavior, but Velocity can be configured
to [skip all checks beyond boolean and nullity
ones](configuration.html#if-directive)).