about summary refs log tree commit diff
path: root/usfm2gmi.py
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-07-11 08:55:04 -0400
committerZach DeCook <zachdecook@librem.one>2021-07-11 08:55:04 -0400
commit2e7b64ff478ffd99eadb46e32ea8a6ad279e6e2c (patch)
tree33dfa19d82cc582784121fa6311f343a994962c7 /usfm2gmi.py
parent739609af8d633d29e172522487b42c8206cb584e (diff)
downloadusfm2gmi-2e7b64ff478ffd99eadb46e32ea8a6ad279e6e2c.tar.gz
space correction: more
Diffstat (limited to 'usfm2gmi.py')
-rwxr-xr-xusfm2gmi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/usfm2gmi.py b/usfm2gmi.py
index b8c54f6..24d1d5e 100755
--- a/usfm2gmi.py
+++ b/usfm2gmi.py
@@ -113,7 +113,7 @@ def convert(line):
       spl = word.split('|')
       out += spl[0] + ' ' #superscript(spl[1][8:-1]) + ' '
     # Remove those extra spaces that sneak in.
-    elif word in [',', '.', ';', '”', ',”', '.”', '?”', ')', ':', '!', '?', '.’', '.’”', '?’”', '?’', ';”']:
+    elif word in [',', '.', ';', '”', ',”', '.”', '?”', ')', ':', '!', '?', '.’', '.’”', '?’”', '?’', ';”', '!”', ');', '),']:
       if out[-1] == ' ':
         out = out[:-1] + word + ' '
       else: