1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
Source: libhtml-html5-sanity-perl
Section: perl
Priority: optional
Build-Depends:
debhelper-compat (= 13),
liblocale-codes-perl | perl (<< 5.28),
libxml-libxml-debugging-perl,
libxml-libxml-perl,
perl,
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders:
Jonas Smedegaard <dr@jones.dk>,
Florian Schlichting <fsfs@debian.org>,
Standards-Version: 4.2.1
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhtml-html5-sanity-perl.git
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhtml-html5-sanity-perl
Homepage: https://metacpan.org/release/HTML-HTML5-Sanity
Testsuite: autopkgtest-pkg-perl
Package: libhtml-html5-sanity-perl
Architecture: all
Depends:
liblocale-codes-perl | perl (<< 5.28),
libxml-libxml-perl,
${misc:Depends},
${perl:Depends},
Enhances:
libhtml-html5-parser-perl,
Description: make HTML5 DOM trees less insane
HTML::HTML5::Sanity is a Perl library tidying HTML::HTML5::Parser.
.
The Document Object Model (DOM) generated by HTML::HTML5::Parser meets
the requirements of the HTML5 spec, but will probably catch a lot of
people by surprise.
.
The main oddity is that elements and attributes which appear to be
namespaced are not really. For example, the following element:
.
<div xml:lang="fr">...</div>
.
Looks like it should be parsed so that it has an attribute "lang" in
the XML namespace. Not so. It will really be parsed as having the
attribute "xml:lang" in the null namespace.
|