Ms writre: Added some escapes.

This commit is contained in:
John MacFarlane 2017-03-26 16:59:29 +02:00
parent b085b9f4a7
commit 1b967d9036

View file

@ -118,12 +118,14 @@ msEscapes :: Map.Map Char String
msEscapes = Map.fromList $
[ ('\160', "\\ ")
, ('\'', "\\[aq]")
, ('', "'")
, ('`', "\\`")
, ('\8217', "'")
, ('"', "\\\"")
, ('\x2014', "\\[em]")
, ('\x2013', "\\[en]")
, ('\x2026', "\\&...")
, ('|', "\\[u007C]") -- because we use | for inline math
, ('~', "\\[ti]")
, ('^', "\\[ha]")
, ('-', "\\-")
, ('@', "\\@")
, ('\\', "\\\\")