feincms-cleanseDefault HTML cleansing in FeinCMS | |
Download |
feincms-cleanse Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Matthias Kestenholz
- Publisher web site:
- http://feinheit.ch
feincms-cleanse Tags
feincms-cleanse Description
feincms-cleanse 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 >'Product's homepage
feincms-cleanse Related Software