oops, the markup is 'cite' and not 'blockquote'
This commit is contained in:
parent
2a8f1d1019
commit
208784e448
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('blockquote>', 'i>'))
|
||||
data = StringIO(data.read().replace('<<', '<').replace('cite>', 'i>'))
|
||||
return LxmlHtmlParser.parse(self, data, encoding)
|
||||
|
||||
# Browser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue