You might want to take a look at 

http://www.cflib.org/udf.cfm?ID=56

Haven't used it yet myself, but looks pretty good.

H.


> -----Original Message-----
> From: Russ [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 1:44 PM
> To:   CF-Talk
> Subject:      Allowing specific HTML Tags
> 
> All,
> 
> I've used the following before:
> 
> <CFSET commentOutput = "#ReReplace(commentPost,"<[^>]*>"," ","ALL")#">
> 
> To disallow any type of HTML tags from screwing up a display, but now
> I'm crossing into something new.
> 
> Now, I want to allow <b></b><i></i><u></u><a href><img src> tags, and to
> be honest, I don't quite follow the ReReplace from up above, but I don't
> want to eliminate anyone from posting table tags, etc. that could break
> something that is displayed.
> 
> Any thoughts?
> 
> Thanks,
> 
> Russ
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to