Fix markup

This commit is contained in:
Tim Bentley 2012-11-27 19:17:53 +00:00
parent 686d9afbe8
commit 163cb408b6

View File

@ -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