~earboxer/usfm2gmi

047fa1c4b63a3e76dd692c24ae9ee91b5afc2dd5 — Zach DeCook 2 months ago 3fb855e
clean up apostrophe-s 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 [',', '.', ';', '”', ',”', '.”', '?”', ')', ':', '!', '?', '.’', '.’”', '?’”', '?’', ';”', '!”', ');', '),']:
    elif word in [',', '.', ';', '”', ',”', '.”', '?”', ')', ':', '!', '?', '.’', '.’”', '?’”', '?’', ';”', '!”', ');', '),', '’s', '.)']:
      if out[-1] == ' ':
        out = out[:-1] + word + ' '
      else: