summaryrefslogtreecommitdiff
path: root/poezio/xhtml.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-11-14 19:23:35 +0100
committermathieui <mathieui@mathieui.net>2017-11-14 19:23:35 +0100
commit156d170d13dd3268728767adf9147e8c4d53d01f (patch)
tree366020f073c1f2dc7e73f7513a939f4c6b5fcc6b /poezio/xhtml.py
parentbd7b52988c99ef34fd49f52c8a9d335941144450 (diff)
downloadpoezio-156d170d13dd3268728767adf9147e8c4d53d01f.tar.gz
poezio-156d170d13dd3268728767adf9147e8c4d53d01f.tar.bz2
poezio-156d170d13dd3268728767adf9147e8c4d53d01f.tar.xz
poezio-156d170d13dd3268728767adf9147e8c4d53d01f.zip
Make italics work
Diffstat (limited to 'poezio/xhtml.py')
-rw-r--r--poezio/xhtml.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/poezio/xhtml.py b/poezio/xhtml.py
index 170ea8d3..df11d005 100644
--- a/poezio/xhtml.py
+++ b/poezio/xhtml.py
@@ -491,7 +491,8 @@ def convert_simple_to_full_colors(text):
'\x16': '\x196',
'\x17': '\x197',
'\x18': '\x198',
- '\x19': '\x199'
+ '\x19': '\x199',
+ '\x1A': '\x19i'
})
text = text.translate(mapping)