in reply to Stripping the contents of Javascript tags
What about the JavaScript event handlers? You don't care about <body onLoad="...">?!?
You'd better use some HTML filtering module. Using HTML::TagFilter, HTML::JFilter or HTML::Filter would be much safer.
Jenda
Always code as if the guy who ends up maintaining your code
will be a violent psychopath who knows where you live.
-- Rick Osborne
Edit by castaway: Closed small tag in signature
|
|---|