velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manish" <prol...@gmx.net>
Subject A link
Date Fri, 29 Oct 2004 13:26:28 GMT
I have an area in my form for user comments, the user may type following
text in his comments -
<a href=http://some.url.com/">some name</a>

I print this text in my template as -
$user.comments

However, this link is not treated as HTML but as normal text. How can I
treat it as HTML by default?
The user may or may not use HTML tags, but I'd still want to treat it as
HTML. How do I do this?

- Manish


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


Mime
View raw message