summaryrefslogtreecommitdiff
path: root/src/xhtml.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/xhtml.py')
-rw-r--r--src/xhtml.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xhtml.py b/src/xhtml.py
index 85e764ba..ed45ff53 100644
--- a/src/xhtml.py
+++ b/src/xhtml.py
@@ -421,9 +421,9 @@ def convert_simple_to_full_colors(text):
# TODO, have a single list of this. This is some sort of
# dusplicate from windows.format_chars
mapping = str.maketrans({'\x0E': '\x19b', '\x0F': '\x19o', '\x10': '\x19u',
- '\x11': '\x191', '\x12': '\x192','\x13': '\x193',
- '\x14': '\x194', '\x15': '\x195','\x16': '\x196',
- '\x17': '\x197', '\x18': '\x198','\x19': '\x199'})
+ '\x11': '\x191', '\x12': '\x192', '\x13': '\x193',
+ '\x14': '\x194', '\x15': '\x195', '\x16': '\x196',
+ '\x17': '\x197', '\x18': '\x198', '\x19': '\x199'})
text = text.translate(mapping)
def add_curly_bracket(match):
return match.group(0) + '}'