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:
Kovid Goyal 2008-01-29 03:17:25 +00:00
parent 9699b9311d
commit bac6acb7a2

View File

@ -1094,6 +1094,7 @@ class BeautifulStoneSoup(Tag, SGMLParser):
# was relying on the existence of markupMassage, this # was relying on the existence of markupMassage, this
# might cause problems. # might cause problems.
del(self.markupMassage) del(self.markupMassage)
self.markup = markup
self.reset() self.reset()
SGMLParser.feed(self, markup) SGMLParser.feed(self, markup)