forked from openlp/openlp
Fix "red letter" versions of Crosswalk Bibles.
bzr-revno: 732
This commit is contained in:
commit
da73313be1
@ -223,6 +223,10 @@ class CWExtract(BibleCommon):
|
|||||||
for part in verse.contents:
|
for part in verse.contents:
|
||||||
if str(part)[0] != u'<':
|
if str(part)[0] != u'<':
|
||||||
versetext = versetext + part
|
versetext = versetext + part
|
||||||
|
elif part and part.attrMap and part.attrMap[u'class'] == u'WordsOfChrist':
|
||||||
|
for subpart in part.contents:
|
||||||
|
if str(subpart)[0] != '<':
|
||||||
|
versetext = versetext + subpart
|
||||||
versetext = versetext.strip(u'\n\r\t ')
|
versetext = versetext.strip(u'\n\r\t ')
|
||||||
verses[versenumber] = versetext
|
verses[versenumber] = versetext
|
||||||
return SearchResults(bookname, chapter, verses)
|
return SearchResults(bookname, chapter, verses)
|
||||||
|
Loading…
Reference in New Issue
Block a user