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):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user