aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-02 02:38:14 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-02 02:38:14 +0000
commitbd5f3876a4a61ee7c75a0d733e6bb6908bb7b6ba (patch)
treed6e16728ad686bc8e9d36c4bc8951ba96eda90e0 /src/Text/Pandoc/Writers
parent2cb22a1f8a5a656688733f0e1a50159a657249b6 (diff)
downloadpandoc-bd5f3876a4a61ee7c75a0d733e6bb6908bb7b6ba.tar.gz
Man writer: don't change - to \- (minus sign).
Leave them as hyphens. git-svn-id: https://pandoc.googlecode.com/svn/trunk@614 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/Man.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Man.hs b/src/Text/Pandoc/Writers/Man.hs
index c87257fb1..5fcf4a730 100644
--- a/src/Text/Pandoc/Writers/Man.hs
+++ b/src/Text/Pandoc/Writers/Man.hs
@@ -112,7 +112,7 @@ escapeSingleQuote str =
-- | Escape special characters for Man.
escapeString :: String -> String
-escapeString = escapeSingleQuote . escapeNbsp . backslashEscape "\".-\\"
+escapeString = escapeSingleQuote . escapeNbsp . backslashEscape "\".\\"
-- | Escape a literal (code) section for Man.
escapeCode :: String -> String