You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Axel Seinsche <st...@seinsche.net> on 2004/06/11 12:08:45 UTC

How to avoid character encoding for html tags

Hi all,

I have an application where the user should be allowed to use text 
formatting tags as <b> or <li> (and so on). To avoid that tags like 
<html> oder <body> (and so on) are used I check the for these tags 
before it's stored in the DB.

When the text is read from the DB my tags are encoded to &lt;b&gt;. How 
can this be avoided? It's indeed a nice feature, but I don't like this 
right now. ;-)

Hope someone can give me a hint.

Thanks,
Axel

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