From 4740d41cd41e823d8accb732e4cc5ee6584dc7dc Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Thu, 1 Apr 2021 08:11:53 -0400 Subject: punctuation: add more to closing punct list --- usfm2gmi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usfm2gmi.py') 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: -- cgit 1.4.1