This commit is contained in:
Rolux 2008-05-01 00:11:09 +02:00
parent 57ccd45973
commit 1a091cac84

View file

@ -122,7 +122,7 @@ def cleanHtml(text):
charrefpat = re.compile(r'&(#(\d+|x[\da-fA-F]+)|[\w.:-]+);?')
def decodeHtml(html):
return htmldecode(text)
return htmldecode(html)
def htmldecode(text):
"""Decode HTML entities in the given text."""