He's wanting something that provides the functionality that Slashdot allows in user 
comments: <ol>, <li>, <b>, etc., but is smart enough to strip out potentially harmful 
code.

-= J

> -----Original Message-----
> From: Karr, David [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 18, 2002 11:57 AM
> To: Struts Users Mailing List
> Subject: RE: [OT] Looking for HTML filter code
> 
> 
> There is a "filter" tag on "bean:write", but that might not 
> do what you want.
> 
> It might help if you were clearer on exactly what you are 
> trying to achieve.  You're trying to put HTML tags inside 
> HTML comment markers?  Why would you want to do this?
> 
> > -----Original Message-----
> > From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]]
> > 
> > Hi,
> > 
> > Never see that in struts tags, I looking in Struts user guide 
> > by I can't found anything.
> > 
> > --- edgar <[EMAIL PROTECTED]> a écrit : > If you are 
> > talking about stuff coming through struts
> > tags I believe
> > > there is a flag which allows disabling of filtering.
> > > 
> > > Edgar
> > > 
> > > -----Original Message-----
> > > From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] 
> > > 
> > > I've been looking around for code (bean/custom tag) that 
> can do html
> > > filtering. No luck yet. At the moment all html entered in 
> > (for example)
> > > user comments is html-escaped when displayed. (To prevent naughty
> > > >script< tricks). It would be nice however to allow a 
> limited set of
> > > html tags. Anyone know of a nice java code 
> > snippet/bean/custom tag that
> > > can help me with this?
> > > 
> > > Thanx a lot
> > > -emmanuel
> > > 
> > > ___________________________________________________________
> > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en 
> > français ! Yahoo!
> > > Mail : http://fr.mail.yahoo.com
> > > 
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>
>  

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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

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


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

Reply via email to