summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaz Solc <tomaz.solc@tablix.org>2022-09-28 13:54:16 +0200
committerTomaz Solc <tomaz.solc@tablix.org>2022-09-28 13:57:19 +0200
commit92147e6c57286dd4485e2f7f0a29720f48f07eac (patch)
treea94f46f89322c08e1f50cae1d2bc82b99ca4d843
parent6f78d8596cd33d791f4c0b32fba74497afdf125c (diff)
downloadunidecode-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.py6
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