From bd5f3876a4a61ee7c75a0d733e6bb6908bb7b6ba Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Mon, 2 Jul 2007 02:38:14 +0000 Subject: 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 --- src/Text/Pandoc/Writers/Man.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Writers') 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 -- cgit v1.2.3