How to Install and Uninstall libhtml-html5-sanity-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 20,2024

1. Install "libhtml-html5-sanity-perl" package

Please follow the step by step instructions below to install libhtml-html5-sanity-perl on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libhtml-html5-sanity-perl

2. Uninstall "libhtml-html5-sanity-perl" package

Please follow the guidelines below to uninstall libhtml-html5-sanity-perl on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libhtml-html5-sanity-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libhtml-html5-sanity-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libhtml-html5-sanity-perl
Architecture: all
Version: 0.105-4
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 35
Depends: liblocale-codes-perl | perl (<< 5.28), libxml-libxml-perl, perl
Enhances: libhtml-html5-parser-perl
Filename: pool/universe/libh/libhtml-html5-sanity-perl/libhtml-html5-sanity-perl_0.105-4_all.deb
Size: 11916
MD5sum: 7af9c0c2b4462263de7f8f885645d5de
SHA1: 97c0b30bae1cc08f3f4607095747a4de8fc62c8e
SHA256: 9c601dee74f17641d94c6b8fb8d7d6e53928363bb0e73616e2df7e7594e1e586
SHA512: a36ab8622a8782e89dcc1f962aaa5b5a2fa5fbfa7ac4f3fb39438244a109ebd852a3b5fb381d43f58fef5f17cb485c2062fdc8eda2b6fdcdf8687ef50af3935c
Homepage: https://metacpan.org/release/HTML-HTML5-Sanity
Description-en: 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:
.
...

.
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.
Description-md5: d96e6ae661e7aa3d6271cac23ce804ac