Skip to main content
https://travis-ci.org/feincms/feincms-cleanse.svg?branch=master

This is the FeinCMS HTML cleansing function which lived under the name of feincms.utils.html.cleanse.cleanse_html, and has been moved to its own repository now to be usable in other projects, and to not set a precedent for a particular HTML cleaning technique in FeinCMS anymore.

Usage is simple:

from feincms_cleanse import cleanse_html

>>> cleanse_html(u'<span style="font-weight:bold">some text</span>')
u'<strong>some text</strong>'

Release files for feincms-cleanse 8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for feincms-cleanse 8
File Size Uploaded
feincms-cleanse-8.tar.gz 6.0 kB Details

Release files / feincms-cleanse-8.tar.gz

Download URL feincms-cleanse-8.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0846b4cb4f668d60b79a8581bdd19cb7e81690a8c333bb3d3d0653e6a16bf635
BLAKE2b-256 checksum
How to use checksums
3bd91f87797be45865b6375c4dcfb5841d9634c480e352f693c420192b5a5092
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

8 This release

1 release file

7

2 release files

6

1 release file

5

2 release files

3

1 release file

2

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page