libhtml-html5-sanity-perl
make HTML5 DOM trees less insane
Description
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.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 screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://metacpan.org/release/HTML-HTML5-Sanity
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-html5-sanity-perl