openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #18154
[Merge] lp:~trb143/openlp/r2221 into lp:openlp
Tim Bentley has proposed merging lp:~trb143/openlp/r2221 into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~trb143/openlp/r2221/+merge/136494
Biblegateway markup change
--
https://code.launchpad.net/~trb143/openlp/r2221/+merge/136494
Your team OpenLP Core is requested to review the proposed merge of lp:~trb143/openlp/r2221 into lp:openlp.
=== modified file 'openlp/plugins/bibles/lib/http.py'
--- openlp/plugins/bibles/lib/http.py 2012-11-11 21:16:14 +0000
+++ openlp/plugins/bibles/lib/http.py 2012-11-27 19:19:24 +0000
@@ -94,7 +94,8 @@
"""
if isinstance(tag, NavigableString):
return None, unicode(tag)
- elif tag.get('class') == 'versenum':
+ elif tag.get('class') == 'versenum' or \
+ tag.get('class') == 'versenum mid-line':
verse = unicode(tag.string)\
.replace('[', '').replace(']', '').strip()
return verse, None
Follow ups