When stripping out html codes, we can accidentally take out required or allowed tags, too, so I try to avoid html stripping.
So my suggestion is different:
You should not strip out html tags from description, just not allowing < and > characters to be entered directly.
If you encode the < and > chars as html entity (> and <), the user will not able to use any html codes in the template.
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...