mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-21 02:17:50 +01:00
Fix bug in implementation of markupMassage in BeautifulSoup 3.0.5. This affects everything, so I hope there aren't too many regressions.
This commit is contained in:
parent
9699b9311d
commit
bac6acb7a2
1 changed files with 2 additions and 1 deletions
|
|
@ -1094,8 +1094,9 @@ def _feed(self, inDocumentEncoding=None):
|
|||
# was relying on the existence of markupMassage, this
|
||||
# might cause problems.
|
||||
del(self.markupMassage)
|
||||
self.markup = markup
|
||||
self.reset()
|
||||
|
||||
|
||||
SGMLParser.feed(self, markup)
|
||||
# Close out any unfinished strings and close all the open tags.
|
||||
self.endData()
|
||||
|
|
|
|||
Loading…
Reference in a new issue