i want to clean some tag like : <script>
and other,
so what开发者_JS百科 python lib you are using to do this .
thanks
BeautifulSoup
This function should work for you:
http://djangosnippets.org/snippets/1655/
You can try Web2py , it is a webframework for python with support for Wiki Markup , MarkDown , and many things + Server side Validation , XSS Prevention. If you want to use only it's Lib you can use gluon of web2py (which is lib of web2py framework)
www.web2py.com
精彩评论