replace blockquote to i
This commit is contained in:
parent
63d9e10172
commit
a3ccf3dfde
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('<<', '<'))
|
||||
data = StringIO(data.read().replace('<<', '<').replace('blockquote>', 'i>'))
|
||||
return LxmlHtmlParser.parse(self, data, encoding)
|
||||
|
||||
# Browser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue