about summary refs log tree commit diff
path: root/usfm2gmi.py
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-07-08 21:31:10 -0400
committerZach DeCook <zachdecook@librem.one>2021-07-08 21:31:10 -0400
commit739609af8d633d29e172522487b42c8206cb584e (patch)
treecba9c7110a40fc1e2c2383ebe524acd77d7084ce /usfm2gmi.py
parent04f01be7227cea94418b0c96292ba35d34d97fd0 (diff)
downloadusfm2gmi-739609af8d633d29e172522487b42c8206cb584e.tar.gz
paragraphs: Ignore no-break tag
Diffstat (limited to 'usfm2gmi.py')
-rwxr-xr-xusfm2gmi.py2
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]) + ' '