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