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>'

Metadata

Release files for feincms-cleanse 2

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 2
File Size Uploaded Provenance Actions
feincms-cleanse-2.tar.gz 6.1 kB Without provenance Details for feincms-cleanse-2.tar.gz

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

Download URL feincms-cleanse-2.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3e9a87dd2dd75a1a754462d873b048ed7ef079ef5eed766c1221cd6acede9e1f
BLAKE2b-256 checksum
How to use checksums
a5e9edb3db0af3bdb525e61c674cea3da492b728638e583694da7786a0e333ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for feincms-cleanse 2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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