mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 17:56:32 +00:00
Fix parsing of \' in man/ms readers.
It was being parsed as a backtick. Closes #6175.
This commit is contained in:
@@ -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 "_"]
|
||||
|
||||
Reference in New Issue
Block a user