首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > userhtml

userhtml

  • 资源大小:12.43 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: html python web Library utility

资 源 简 介

UserHTML is a Python module which sanitizes user-supplied HTML fragments (like blog comments or forum posts) so that they can be safely embedded in a Web page without fear of XSS and similar issues. It also handles issues like turning linebreaks into and , and turning instances of one element into instances of another. Example usage: >>> from userhtml import sanitize_html >>> sanitize_html(u"Click here!") u"

Click here!

"

文 件 列 表

userhtml-0.1
COPYING
setup.py
userhtml.py

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.361139s