feincms-cleanse的Python项目详细描述
这是名为
feincms.utils.html.cleanse.cleanse_html,已移动到
它自己的存储库现在可以在其他项目中使用,并且不设置
feincms中特定html清理技术的先例。
用法很简单:
from feincms_cleanse import cleanse_html
>>> cleanse_html(u'<span style="font-weight:bold">some text</span>')
u'<strong>some text</strong>'
欢迎加入QQ群-->: 979659372
推荐PyPI第三方库