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:
parent
79359605d1
commit
2fd7da07d4
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue