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

-----------------------

 

 

Reply via email to