libhtml-tagfilter-perl

fine-grained HTML-filter, XSS-blocker and mailto-obfuscator

Description

HTML::TagFilter is a subclass of HTML::Parser with a single purpose: it will remove unwanted HTML tags and attributes from a piece of text. It can act in a more or less fine-grained way: you can specify permitted tags, permitted attributes of each tag, and permitted values for each attribute in as much detail as you like.

Tags which are not allowed are removed. Tags which are allowed are trimmed down to only the attributes which are allowed for each tag. It is possible to allow all or no attributes from a tag, or to allow all or no values for an attribute, and so on.

The filter will also guard against cross-site scripting attacks and obfuscate any mailto:email addresses, unless you tell it not to.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/HTML-TagFilter


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libhtml-tagfilter-perl