diff options
| author | Zach DeCook <zachdecook@librem.one> | 2023-12-11 19:57:28 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2023-12-11 19:57:28 -0500 |
| commit | 457f85f6ac9243dd94519f8502044729f25f19d4 (patch) | |
| tree | d4bb8ebd740c64c2bf327802bc0c3e383e76870d /usfm2gmi.py | |
| parent | 55ed7b33bb8f11aafe68167e310b8df7b6b06413 (diff) | |
| download | usfm2gmi-457f85f6ac9243dd94519f8502044729f25f19d4.tar.gz | |
ignore x-morph
Diffstat (limited to 'usfm2gmi.py')
| -rwxr-xr-x | usfm2gmi.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usfm2gmi.py b/usfm2gmi.py index afb6834..5d52808 100755 --- a/usfm2gmi.py +++ b/usfm2gmi.py @@ -117,6 +117,8 @@ def convert(line, printStrongs=False): if printStrongs: out += superscript(spl[1][8:-1]) out += ' ' + elif 'x-morph="' in word: + continue # Remove those extra spaces that sneak in. elif word in [',', '.', ';', '”', ',”', '.”', '?”', ')', ':', '!', '?', '.’', '.’”', '?’”', '?’', ';”', '!”', ');', '),']: if out[-1] == ' ': |
