~earboxer/usfm2gmi

639aa4a8e434309f061649b4db5d7d99375b8a85 — Zach DeCook 2 months ago 047fa1c master
Clean up apostrophe-t spacing
1 files changed, 1 insertions(+), 1 deletions(-)

M usfm2gmi.py
M usfm2gmi.py => usfm2gmi.py +1 -1
@@ 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 [',', '.', ';', '”', ',”', '.”', '?”', ')', ':', '!', '?', '.’', '.’”', '?’”', '?’', ';”', '!”', ');', '),', '’s', '.)']:
    elif word in [',', '.', ';', '”', ',”', '.”', '?”', ')', ':', '!', '?', '.’', '.’”', '?’”', '?’', ';”', '!”', ');', '),', '’s', '.)', '’t']:
      if out[-1] == ' ':
        out = out[:-1] + word + ' '
      else: