You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Will Glass-Husain (JIRA)" <ji...@apache.org> on 2005/09/18 23:50:54 UTC

[jira] Resolved: (VELOCITY-261) whitespace after an one-line inner #if statement are lost

     [ http://issues.apache.org/jira/browse/VELOCITY-261?page=all ]
     
Will Glass-Husain resolved VELOCITY-261:
----------------------------------------

    Resolution: Invalid
     Assign To:     (was: Velocity-Dev List)

Hi,

Thanks for reporting this.  While I agree this behavior is strange, I think it is expected behavior when you consider Velocity's whitespace rules.  I'm going to resolve this issue - leave further comments on Velocity-253.

> whitespace after an one-line inner #if statement are lost
> ---------------------------------------------------------
>
>          Key: VELOCITY-261
>          URL: http://issues.apache.org/jira/browse/VELOCITY-261
>      Project: Velocity
>         Type: Bug
>   Components: Source
>     Versions: 1.3.1
>  Environment: Operating System: All
> Platform: PC
>     Reporter: Mike Kienenberger
>  Attachments: if.cmp.patch, if.vm.patch
>
> #if ($condition3)
> b3 Line#if($condition4)extra#end 
> #end
> b4 Line
> prints "b3 Lineb4 Line" rather than "b3 Line \nb4 Line"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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