From ee60ba5252360d2efbf9cf30197236a21a15a924 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 13 Dec 2018 11:24:51 -0800 Subject: Man/Ms writers: don't escape `-` as `\-`. For discussion see https://groups.google.com/forum/#!msg/pandoc-discuss/B-oiCXcQOVo/WO-BXVpICAAJ The `\-` gets rendered in HTML and PDF as a unicode minus sign. --- src/Text/Pandoc/RoffChar.hs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/RoffChar.hs b/src/Text/Pandoc/RoffChar.hs index 52d991d32..1b171b6c2 100644 --- a/src/Text/Pandoc/RoffChar.hs +++ b/src/Text/Pandoc/RoffChar.hs @@ -53,7 +53,6 @@ standardEscapes = , ('`', "\\[ga]") , ('^', "\\[ha]") , ('~', "\\[ti]") - , ('-', "\\-") -- minus; - will be interpreted as hyphen U+2010 , ('\\', "\\[rs]") , ('@', "\\[at]") -- because we use @ as a table and math delimiter , ('\x2026', "\\&...") -- because u2026 doesn't render on tty -- cgit v1.2.3