kickass fix
parent
263eb29160
commit
4e4e2bf569
|
@ -214,14 +214,11 @@ class Content:
|
|||
)
|
||||
|
||||
def unescape(self, string):
|
||||
try:
|
||||
pars = HTMLParser.HTMLParser()
|
||||
return pars.unescape(string)
|
||||
#for (symbol, code) in self.htmlCodes:
|
||||
# try:
|
||||
# string = re.sub(code, symbol, string)
|
||||
# except:
|
||||
# pass
|
||||
#return string
|
||||
except:
|
||||
return string
|
||||
|
||||
def stripHtml(self, string):
|
||||
for (html, replacement) in self.stripPairs:
|
||||
|
|
Loading…
Reference in New Issue