diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-12-13 11:24:51 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-12-13 11:24:51 -0800 |
commit | ee60ba5252360d2efbf9cf30197236a21a15a924 (patch) | |
tree | a12e19de123f516b38afdf78b30bdc8743016edf /src/Text/Pandoc | |
parent | e4340b384fc6390cbebcc4dcc6f5039af893d6dd (diff) | |
download | pandoc-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/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/RoffChar.hs | 1 |
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 |