about summary refs log tree commit diff
path: root/usfm2gmi.py
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-04-01 08:11:53 -0400
committerZach DeCook <zachdecook@librem.one>2021-04-01 08:11:53 -0400
commit4740d41cd41e823d8accb732e4cc5ee6584dc7dc (patch)
tree06f9891d8bcb21e3adef7ce568b23eb068e4466f /usfm2gmi.py
parentfd4f94371b9786b53a8add449c9fb674fdc91f13 (diff)
downloadusfm2gmi-4740d41cd41e823d8accb732e4cc5ee6584dc7dc.tar.gz
punctuation: add more to closing punct list
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 d47546a..7d29e43 100755
--- a/usfm2gmi.py
+++ b/usfm2gmi.py
@@ -100,7 +100,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: