Hi Manish,

> 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?
I'm not quite sure what you want to do, but will this help?
    http://wiki.apache.org/jakarta-velocity/EscapeTool

Best regards,
-- Shinobu Kawai

-- 
Shinobu Kawai <[EMAIL PROTECTED]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to