From bac6acb7a2e98c28c33d57071356a85e29a80cd9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 29 Jan 2008 03:17:25 +0000 Subject: [PATCH] Fix bug in implementation of markupMassage in BeautifulSoup 3.0.5. This affects everything, so I hope there aren't too many regressions. --- src/libprs500/ebooks/BeautifulSoup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libprs500/ebooks/BeautifulSoup.py b/src/libprs500/ebooks/BeautifulSoup.py index a05380067d..b249d695dc 100644 --- a/src/libprs500/ebooks/BeautifulSoup.py +++ b/src/libprs500/ebooks/BeautifulSoup.py @@ -1094,8 +1094,9 @@ class BeautifulStoneSoup(Tag, SGMLParser): # 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()