From 047fa1c4b63a3e76dd692c24ae9ee91b5afc2dd5 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Tue, 2 Apr 2024 23:00:00 -0400 Subject: clean up apostrophe-s spacing --- usfm2gmi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usfm2gmi.py') 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: -- cgit 1.4.1