HTML::Restricted - filter HTML to a set of allowed tags and attributes


This is just a band-aid module I needed while without internet connection. There also are HTML::Strip and some other modules that should do the same task and this module will likely vanish again when I review the others and decide on using one.

HTML::StripScripts seems a likely alternative to this module.

Currently, attributes are not cleaned up. Also, HTML5 tags are simply stripped as this module doesn't use HTML::HTML5::Parser.

Don't rely on this module.