Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
1.0-Release
-
None
-
None
-
Operating System: other
Platform: Other
-
30017
Description
I am using velocity-1.4 on Fuedora Linux and is not ignoring the whitespaces.
I am using the following code:
First example:
#foreach( $foo in [1..5] )
$foo
#end
This prints out
First example:
1
2
3
4
5
If I change the template as:
First example:
#foreach( $foo in [1..5] )
$foo #end
The output comes as:
First example:
1 2 3 4 5
According to the User Guide, the output should be the same in both the cases.