Skip to main content

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 5

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

Built distribution (wheel)

Table of built distributions (wheels) for feincms-cleanse 5
File Interpreter ABI Platform
feincms_cleanse-5-py27-none-any.whl Python 2.7 none any Details

Total release size: 12.8 kB

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

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

Release files / feincms_cleanse-5-py27-none-any.whl

Download URL feincms_cleanse-5-py27-none-any.whl
Size 6.9 kB
Tags Python 2.7
SHA-256 checksum
How to use checksums
9fbaebc0b31bf6feecb40a282be054c8fb19eec4a7b214109218f5d8268f0a5d
BLAKE2b-256 checksum
How to use checksums
295b0f1f708ebc195c59ddbd093ce9210c82b9d048ed919d96329056b20d6abe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

8

1 release file

7

2 release files

6

1 release file

This release

5 This release

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