htmlclean

Cleans up HTML code for web browsers, not humans

Install

All systems
curl cmd.cat/htmlclean.sh
Debian Debian
apt-get install libhtml-clean-perl
Ubuntu
apt-get install libhtml-clean-perl
image/svg+xml Kali Linux
apt-get install libhtml-clean-perl
Windows (WSL2)
sudo apt-get update sudo apt-get install libhtml-clean-perl
Raspbian
apt-get install libhtml-clean-perl

libhtml-clean-perl

Cleans up HTML code for web browsers, not humans

The HTML::Clean module encapsulates a number of HTML optimizations and cleanups. The end result is HTML that loads faster, displays properly in more browsers. Think of it as a compiler that translates HTML input into optimized machine readable code.