velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eddie" <post2me...@hotmail.com>
Subject Html encoding ?
Date Mon, 19 Mar 2001 11:50:52 GMT
Hellu,

How do you encode special characters like "&" to proper readable html text with velocity
??
Does velocity already have a utility for this ? I noticed that velocity doesn't do this automaticaly.

I have a little class, called WebUtil, with a class method (note: not an object method) called
htmlEncode. How can I use this in my velocity template ?

Regards,
Ed Bras


Mime
View raw message