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)
| File | Size | Uploaded | |
|---|---|---|---|
| feincms-cleanse-7.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 |