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:31:54 UTC

[jira] Resolved: (VELOCITY-114) New line wrongly added to output when using block comments

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

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

Responding to this very old bug.  This is to be expected since *# ends in the middle of a line (leaving the EOL) but the ## comment includes the whole line including the EOL.  It is a little confusing.

Closing - please write to the velocity-user list if you have any questions or comments.  Thanks!

> New line wrongly added to output when using block comments
> ----------------------------------------------------------
>
>          Key: VELOCITY-114
>          URL: http://issues.apache.org/jira/browse/VELOCITY-114
>      Project: Velocity
>         Type: Bug
>   Components: Source
>     Versions: 1.3-rc1
>  Environment: Operating System: All
> Platform: PC
>     Reporter: Buddy Kresge

>
> If you use block comments, a new line is incorrectly inserted in the output, 
> but if you use regular comments (##) no new line is inserted.
> For example:
> #*
> *#
> Hello
> Will produce:
> Hello
> Where:
> ##
> ##
> Hello
> Will Produce:
> Hello

-- 
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