python:HTML转义
http://www.cnblogs.com/kill-signal/archive/2012/10/16/2725985.html
包含转义符的HTML字符串转换成为未转义的HTML
未转义的HTML进行转义
import HTMLParser html_parser = HTMLParser.HTMLParser() s = '<abc>' s = html_parser.unescape(s) #这样就得到了s = '<abc>'
import cgi s = "<b>aa</b>" cgi.escape(s)