Skip to content

Commit

Permalink
improved bible export
Browse files Browse the repository at this point in the history
  • Loading branch information
eliranwong committed May 27, 2023
1 parent fe4b2da commit 2da6377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/BiblesSqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ def exportToMarkdown(self, agbParagraphs=False, agbSubheadings=False, standardRe
chatperText = f"# {bookFullName} {c}\n\n" if standardReference else ""
for v in self.getVerseList(b, c):
verseText = self.readTextVerse(b, c, v, True)[-1]
verseText = re.sub("<[^<>]*?>", "", verseText)
verseText = re.sub("<[^<>]*?>", "", verseText).strip()
reference = f"[{standardBookAbbreviation} {c}:{v}]" if standardReference else f"[{b}.{c}.{v}]"
if agbParagraphs and v in newParagraphFromVerses and not v == 1:
chatperText += "\n"
Expand Down

0 comments on commit 2da6377

Please sign in to comment.