How to Install and Uninstall python3-html-sanitizer Package on Ubuntu 21.10 (Impish Indri)
Last updated: November 26,2024
1. Install "python3-html-sanitizer" package
This is a short guide on how to install python3-html-sanitizer on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
python3-html-sanitizer
Copied
2. Uninstall "python3-html-sanitizer" package
This guide let you learn how to uninstall python3-html-sanitizer on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
python3-html-sanitizer
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python3-html-sanitizer package on Ubuntu 21.10 (Impish Indri)
Package: python3-html-sanitizer
Architecture: all
Version: 1.9.1-2
Priority: optional
Section: universe/python
Source: python-html-sanitizer
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Jonas Smedegaard
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 66
Depends: python3-bs4, python3-lxml, python3:any
Suggests: python3-django
Enhances: python3-django
Filename: pool/universe/p/python-html-sanitizer/python3-html-sanitizer_1.9.1-2_all.deb
Size: 13828
MD5sum: 7bc4585622c44660ebd51af7dce36b76
SHA1: 28094b868926b8339660715c4298591e381b087b
SHA256: 7f11d7f102ebaadb68d5a33e72af1b981cb0b4f0d95d41d11d3693da168a3f14
SHA512: 3b5b6e803d8d6958e9839678b6d13466488004195d0259cdeaf7e091bd9d89d5cdc1784da8f87f91e4daf09d6af02a3eb9ff9d0f10cc3601aa8052f39bc03030
Homepage: https://github.com/matthiask/html-sanitizer
Description-en: HTML sanitizer with more HTML fragment transforms
This is an allowlist-based and very opinionated HTML sanitizer
that can be used both for untrusted and trusted sources.
It attempts to clean up the mess
made by various rich text editors and or copy-pasting
to make styling of webpages simpler and more consistent.
It builds on the excellent HTML cleaner in lxml
to make the result both valid and safe.
.
HTML sanitizer goes further than e.g. bleach
in that it not only ensures that content is safe
and tags and attributes conform to a given allowlist,
but also applies additional transforms to HTML fragments.
Description-md5: 843f6e9f709c5f87edeaf6ab1a7ec1bc
Architecture: all
Version: 1.9.1-2
Priority: optional
Section: universe/python
Source: python-html-sanitizer
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Jonas Smedegaard
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 66
Depends: python3-bs4, python3-lxml, python3:any
Suggests: python3-django
Enhances: python3-django
Filename: pool/universe/p/python-html-sanitizer/python3-html-sanitizer_1.9.1-2_all.deb
Size: 13828
MD5sum: 7bc4585622c44660ebd51af7dce36b76
SHA1: 28094b868926b8339660715c4298591e381b087b
SHA256: 7f11d7f102ebaadb68d5a33e72af1b981cb0b4f0d95d41d11d3693da168a3f14
SHA512: 3b5b6e803d8d6958e9839678b6d13466488004195d0259cdeaf7e091bd9d89d5cdc1784da8f87f91e4daf09d6af02a3eb9ff9d0f10cc3601aa8052f39bc03030
Homepage: https://github.com/matthiask/html-sanitizer
Description-en: HTML sanitizer with more HTML fragment transforms
This is an allowlist-based and very opinionated HTML sanitizer
that can be used both for untrusted and trusted sources.
It attempts to clean up the mess
made by various rich text editors and or copy-pasting
to make styling of webpages simpler and more consistent.
It builds on the excellent HTML cleaner in lxml
to make the result both valid and safe.
.
HTML sanitizer goes further than e.g. bleach
in that it not only ensures that content is safe
and tags and attributes conform to a given allowlist,
but also applies additional transforms to HTML fragments.
Description-md5: 843f6e9f709c5f87edeaf6ab1a7ec1bc