forked from openlp/openlp
Fix Biblegateway markup
bzr-revno: 2117
This commit is contained in:
commit
9ee1def1c8
@ -94,7 +94,8 @@ class BGExtract(object):
|
|||||||
"""
|
"""
|
||||||
if isinstance(tag, NavigableString):
|
if isinstance(tag, NavigableString):
|
||||||
return None, unicode(tag)
|
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)\
|
verse = unicode(tag.string)\
|
||||||
.replace('[', '').replace(']', '').strip()
|
.replace('[', '').replace(']', '').strip()
|
||||||
return verse, None
|
return verse, None
|
||||||
|
Loading…
Reference in New Issue
Block a user