Skip to main content

feincms-cleanse

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 7

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 7
File Size Uploaded
feincms-cleanse-7.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for feincms-cleanse 7
File Interpreter ABI Platform
feincms_cleanse-7-py2-none-any.whl Python 2 none any Details

Total release size: 12.9 kB

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

Download URL feincms-cleanse-7.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a74fc7f2e1ebbd714b0ac85259a8dc16be007cbee7b5230a7e1cf311bc1609ba
BLAKE2b-256 checksum
How to use checksums
d0b06b770309ce6f343c358803f9be587ecdbd8ad85bc46a1777b2e7f2da01ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / feincms_cleanse-7-py2-none-any.whl

Download URL feincms_cleanse-7-py2-none-any.whl
Size 7.0 kB
Tags Python 2
SHA-256 checksum
How to use checksums
eafc6f5045a1324a879cf32d2c416937f5108a00af94fbf96b98242c5cf2207d
BLAKE2b-256 checksum
How to use checksums
2dbdf3a70f25a5404a01239cb4fa8fecb4616722c24b68e74f4370f4607c215a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

8

1 release file

This release

7 This release

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