How to Install and Uninstall python3-bleach Package on openSUSE Leap

Last updated: May 18,2024

1. Install "python3-bleach" package

Please follow the guidance below to install python3-bleach on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-bleach

2. Uninstall "python3-bleach" package

Please follow the guidance below to uninstall python3-bleach on openSUSE Leap:

$ sudo zypper remove python3-bleach

3. Information about the python3-bleach package on openSUSE Leap

Information for package python3-bleach:
---------------------------------------
Repository : Main Repository
Name : python3-bleach
Version : 3.1.5-bp155.2.14
Arch : noarch
Vendor : openSUSE
Installed Size : 199.7 KiB
Installed : No
Status : not installed
Source package : python-bleach-3.1.5-bp155.2.14.src
Upstream URL : http://github.com/jsocol/bleach
Summary : A whitelist-based HTML-sanitizing tool
Description :
Bleach is an HTML sanitation library that escapes or strips markup and
attributes based on a white list. Bleach can also linkify text safely, applying
filters that Django's ``urlize`` filter cannot, and optionally setting ``rel``
attributes, even on links already in the text.
Bleach is intended for sanitizing text from *untrusted* sources.
Because it relies on html5lib, Bleach is as good as modern browsers at dealing
with weird, quirky HTML fragments. Bleach's methods will fix
unbalanced or mis-nested tags.
Documentation is at http://bleach.readthedocs.org/ .