velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dekany" <ddek...@freemail.hu>
Subject Quotation marks and CR in string literals?
Date Sun, 24 Mar 2002 13:18:47 GMT
I would like to put quotaton marks and linebreaks into string literals.
Something like this:
$foo.bar('\'this\' is quoted\nand this is in a new line').
How to do it in VTL?

(If I get the answer that I should do it with string interpolation and some
object in the context then I will either laugh or cry depending on my
current mood... (However it would not be a big surprace after the escaping
rules...))


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message