Html_cleaner no longer converts ":" to ":".
This commit is contained in:
parent
1ecad1a00c
commit
2b307b6690
|
@ -9,7 +9,7 @@ from xml.sax.saxutils import quoteattr
|
||||||
|
|
||||||
def xssescape(text):
|
def xssescape(text):
|
||||||
"""Gets rid of < and > and & and, for good measure, :"""
|
"""Gets rid of < and > and & and, for good measure, :"""
|
||||||
return escape(text, quote=True).replace(':',':')
|
return escape(text, quote=True)
|
||||||
|
|
||||||
class Html_cleaner(HTMLParser):
|
class Html_cleaner(HTMLParser):
|
||||||
"""
|
"""
|
||||||
|
|
Reference in New Issue