diff options
| author | Zach DeCook <zachdecook@librem.one> | 2024-04-02 23:00:00 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2024-04-02 23:00:00 -0400 |
| commit | 047fa1c4b63a3e76dd692c24ae9ee91b5afc2dd5 (patch) | |
| tree | 14267a23c51b70442baa0abfe35c780a6a5e6570 /usfm2gmi.py | |
| parent | 3fb855edbe9d48a3c53eeaefb9e380c4a6eca138 (diff) | |
| download | usfm2gmi-047fa1c4b63a3e76dd692c24ae9ee91b5afc2dd5.tar.gz | |
clean up apostrophe-s spacing
Diffstat (limited to 'usfm2gmi.py')
| -rwxr-xr-x | usfm2gmi.py | 2 |
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: |
