From 4faac2bf9b796cc3e04d0fcbfee6a5d2b0f0fe6d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 5 Mar 2020 19:29:14 -0800 Subject: Fix parsing of `\'` in man/ms readers. It was being parsed as a backtick. Closes #6175. --- src/Text/Pandoc/Readers/Roff.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Readers/Roff.hs b/src/Text/Pandoc/Readers/Roff.hs index d1700703c..e50a98b06 100644 --- a/src/Text/Pandoc/Readers/Roff.hs +++ b/src/Text/Pandoc/Readers/Roff.hs @@ -226,7 +226,7 @@ escapeNormal = do 'X' -> escIgnore 'X' [quoteArg] 'Y' -> escIgnore 'Y' [escapeArg, countChar 1 (satisfy (/='\n'))] 'Z' -> escIgnore 'Z' [quoteArg] - '\'' -> return [RoffStr "`"] + '\'' -> return [RoffStr "'"] '\n' -> return mempty -- line continuation '^' -> return [RoffStr "\x200A"] -- 1/12 em space '_' -> return [RoffStr "_"] -- cgit v1.2.3