[
https://issues.apache.org/jira/browse/VELOCITY-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Schmiedehausen closed VELOCITY-278.
-------------------------------------------
> The whitespaces are not getting gobbled up by Velocity.
> -------------------------------------------------------
>
> Key: VELOCITY-278
> URL: https://issues.apache.org/jira/browse/VELOCITY-278
> Project: Velocity
> Issue Type: Bug
> Components: Testing
> Affects Versions: 1.0-Release
> Environment: Operating System: other
> Platform: Other
> Reporter: Narinder
>
> 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.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]