aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-12-13 11:24:51 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2018-12-13 11:24:51 -0800
commitee60ba5252360d2efbf9cf30197236a21a15a924 (patch)
treea12e19de123f516b38afdf78b30bdc8743016edf /src
parente4340b384fc6390cbebcc4dcc6f5039af893d6dd (diff)
downloadpandoc-ee60ba5252360d2efbf9cf30197236a21a15a924.tar.gz
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.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/RoffChar.hs1
1 files changed, 0 insertions, 1 deletions
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