Cuts the tags and attributes from HTML that are not in the whitelist. Their content is leaves.
You can use the symbol * to allow all tags and/or attributes.
Note that the script and style tags are removed with content.
The module is based on HTMLParser Class - in the standard Python package. No need to pull a dependence, what is also sometimes can be a plus.
Release files for html-purifier 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| html-purifier-0.1.9.zip | 89.2 kB | Details |
Release files / html-purifier-0.1.9.zip
| Download URL | html-purifier-0.1.9.zip |
|---|---|
| Size | 89.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cfa964330dae8b3fbe0cb0c1c6118429e2f2872c041d64c4f8fd8b870346c97
|
|
BLAKE2b-256 checksum How to use checksums |
64580cceca92b545d96cc749af0fb2e3226bc6078ff5dbbd78abb466460bf276
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |