about summary refs log tree commit diff
path: root/usfm2gmi.py
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2024-04-02 23:00:00 -0400
committerZach DeCook <zachdecook@librem.one>2024-04-02 23:00:00 -0400
commit047fa1c4b63a3e76dd692c24ae9ee91b5afc2dd5 (patch)
tree14267a23c51b70442baa0abfe35c780a6a5e6570 /usfm2gmi.py
parent3fb855edbe9d48a3c53eeaefb9e380c4a6eca138 (diff)
downloadusfm2gmi-047fa1c4b63a3e76dd692c24ae9ee91b5afc2dd5.tar.gz
clean up apostrophe-s spacing
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 87e99af..eccd2ab 100755
--- a/usfm2gmi.py
+++ b/usfm2gmi.py
@@ -127,7 +127,7 @@ def convert(line, printStrongs=False):
     elif 'x-morph="' in word:
       continue
     # Remove those extra spaces that sneak in.
-    elif word in [',', '.', ';', '”', ',”', '.”', '?”', ')', ':', '!', '?', '.’', '.’”', '?’”', '?’', ';”', '!”', ');', '),']:
+    elif word in [',', '.', ';', '”', ',”', '.”', '?”', ')', ':', '!', '?', '.’', '.’”', '?’”', '?’', ';”', '!”', ');', '),', '’s', '.)']:
       if out[-1] == ' ':
         out = out[:-1] + word + ' '
       else: