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

Last updated: December 24,2024

1. Install "python2-bleach" package

This is a short guide on how to install python2-bleach on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-bleach

2. Uninstall "python2-bleach" package

This is a short guide on how to uninstall python2-bleach on openSUSE Leap:

$ sudo zypper remove python2-bleach

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

Information for package python2-bleach:
---------------------------------------
Repository : Main Repository
Name : python2-bleach
Version : 3.1.5-bp153.1.1
Arch : noarch
Vendor : openSUSE
Installed Size : 178,5 KiB
Installed : No
Status : not installed
Source package : python-bleach-3.1.5-bp153.1.1.src
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/ .