Weird. Would you open up a JIRA issue on this? http://issues.apache.org/jira/browse/VELOCITY
And if you wanted to go the extra mile, a test case patch would be awesome! ;) On Mon, Mar 3, 2008 at 3:02 PM, Gehlhaar, Dan <[EMAIL PROTECTED]> wrote: > Greetings, Velocity developers. I am encountering a problem related to > the #literal() directive, in versions 1.4 and 1.5. In #literal() > blocks, leading hash marks get stripped from lines if there is a space > after the hash mark. When the bulk of what's in the #literal() section > is Perl code with lots of comments, this is a problem! > > > > Any help would be greatly appreciated. > > > > Thanks, > > Dan Gehlhaar > > > > Input: > > ----------------------- > > #literal() > > #No space after hash > > # One space after hash > > #end > > ----------------------- > > > > Output: > > ----------------------- > > #No space after hash > > One space after hash > > ----------------------- > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]