diff options
author | Tomaz Solc <tomaz.solc@tablix.org> | 2022-09-28 13:54:16 +0200 |
---|---|---|
committer | Tomaz Solc <tomaz.solc@tablix.org> | 2022-09-28 13:57:19 +0200 |
commit | 92147e6c57286dd4485e2f7f0a29720f48f07eac (patch) | |
tree | a94f46f89322c08e1f50cae1d2bc82b99ca4d843 | |
parent | 6f78d8596cd33d791f4c0b32fba74497afdf125c (diff) | |
download | unidecode-92147e6c57286dd4485e2f7f0a29720f48f07eac.tar.gz |
Remove trailing space for fractions.
This prevents adding an extra space between fraction and punctuation in strings
like "Platform 9¾, Kingʹs Cross Station".
Closes #81
-rw-r--r-- | unidecode/x000.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unidecode/x000.py b/unidecode/x000.py index 27e8d68..2c288a6 100644 --- a/unidecode/x000.py +++ b/unidecode/x000.py @@ -76,9 +76,9 @@ data = ( '1', # 0xb9 'o', # 0xba '>>', # 0xbb -' 1/4 ', # 0xbc -' 1/2 ', # 0xbd -' 3/4 ', # 0xbe +' 1/4', # 0xbc +' 1/2', # 0xbd +' 3/4', # 0xbe '?', # 0xbf 'A', # 0xc0 'A', # 0xc1 |