Fix parsing of \' in man/ms readers.

It was being parsed as a backtick.
Closes #6175.
This commit is contained in:
John MacFarlane
2020-03-05 19:29:14 -08:00
parent 4eb0c1eec1
commit 4faac2bf9b
+1 -1
View File
@@ -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 "_"]