Convert usfm bibles into gemtext (python library/utility)
paragraphs: Ignore no-break tag
| -rwxr-xr-x | usfm2gmi.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usfm2gmi.py b/usfm2gmi.py index 65a0f95..b8c54f6 100755 --- a/usfm2gmi.py +++ b/usfm2gmi.py @@ -107,6 +107,8 @@ def convert(line): # Words which appear in the glossary. elif word in ['\\w','\\w*', '\\+w', '\\+w*']: continue + elif word in ['\\nb']: + continue elif '|strong="' in word: spl = word.split('|') out += spl[0] + ' ' #superscript(spl[1][8:-1]) + ' ' |