Man writer: don't escape " as \".

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1399 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher 2008-08-10 22:24:57 +00:00
parent 79359605d1
commit 2fd7da07d4
2 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ noteToMan opts num note = do
-- | Association list of characters to escape.
manEscapes :: [(Char, String)]
manEscapes = [('\160', "\\ "), ('\'', "\\[aq]")] ++ backslashEscapes "\".@\\"
manEscapes = [('\160', "\\ "), ('\'', "\\[aq]")] ++ backslashEscapes ".@\\"
-- | Escape special characters for Man.
escapeString :: String -> String

View file

@ -49,7 +49,7 @@ Code in a block quote:
.PP
\f[CR]
sub\ status\ {
\ \ \ \ print\ \"working\";
\ \ \ \ print\ "working";
}
\f[]
.PP
@ -83,7 +83,7 @@ Code:
----\ (should\ be\ four\ hyphens)
sub\ status\ {
\ \ \ \ print\ \"working\";
\ \ \ \ print\ "working";
}
this\ code\ block\ is\ indented\ by\ one\ tab