Cuts the tags and attributes from HTML that are not in the whitelist. Their content is left.
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size html-purifier-0.1.9.zip (89.2 kB)||File type Source||Python version None||Upload date||Hashes View hashes|