From f63625b72f8f93ae40cbd32f4c03f0f676581f47 Mon Sep 17 00:00:00 2001 From: Jon Tibble Date: Tue, 16 Nov 2010 03:31:17 +0000 Subject: [PATCH] Fix biblegateway for BeautifulSoup 3.1 --- openlp/plugins/bibles/lib/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/plugins/bibles/lib/http.py b/openlp/plugins/bibles/lib/http.py index e6a474f5c..235862ae8 100644 --- a/openlp/plugins/bibles/lib/http.py +++ b/openlp/plugins/bibles/lib/http.py @@ -213,7 +213,7 @@ class BGExtract(object): finally: if not page: return None - cleaner = [(re.compile(' |
'), lambda match: '')] + cleaner = [(re.compile(' |
|\'\+\''), lambda match: '')] soup = None try: soup = BeautifulSoup(page, markupMassage=cleaner)