replace tt> to i>
This commit is contained in:
parent
39a40ee654
commit
c15bca8743
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ from .tools import id2url, id2threadid, id2contenttype
|
|||
class Parser(LxmlHtmlParser):
|
||||
def parse(self, data, encoding=None):
|
||||
# Want to kill templeet coders
|
||||
data = StringIO(data.read().replace('<<', '<').replace('cite>', 'i>'))
|
||||
data = StringIO(data.read().replace('<<', '<').replace('cite>', 'i>').replace('tt>', 'i>'))
|
||||
return LxmlHtmlParser.parse(self, data, encoding)
|
||||
|
||||
# Browser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue