From 7d5b25d6d65306b1f2eb77417a9010951d1e17a8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 18 Oct 2018 23:47:58 -0700 Subject: GroffChar: fixed interpretation of `\-`. It is the ascii - sign, not the unicode hyphen. --- src/Text/Pandoc/GroffChar.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/GroffChar.hs b/src/Text/Pandoc/GroffChar.hs index 8664c627f..97ff0b100 100644 --- a/src/Text/Pandoc/GroffChar.hs +++ b/src/Text/Pandoc/GroffChar.hs @@ -48,8 +48,8 @@ essentialEscapes = Map.fromList , ('^', "\\[ha]") , ('@', "\\[at]") , ('\\', "\\[rs]") + , ('-', "\\-") -- minus; - will be interpreted as hyphen U+2010 , ('\x2026', "\\&...") -- because u2026 doesn't render on tty - , ('\x2212', "\\-") -- minus ] characterCodes :: [(Char, String)] -- cgit v1.2.3