Source: libhtml-tagfilter-perl
Section: perl
Priority: optional
Maintainer: Debian Perl Group
Uploaders: Ernesto Hernández-Novich (USB) ,
Daniel Lintott
Build-Depends: debhelper (>= 8)
Build-Depends-Indep: libhtml-parser-perl,
liburi-perl,
perl
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libhtml-tagfilter-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libhtml-tagfilter-perl.git
Homepage: https://metacpan.org/release/HTML-TagFilter
Package: libhtml-tagfilter-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends},
libhtml-parser-perl,
liburi-perl
Description: fine-grained HTML-filter, XSS-blocker and mailto-obfuscator
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.