From 4eb0c1eec1704cc85128d7da62fb9c9d113c41b5 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 5 Mar 2020 19:22:41 -0800 Subject: Fix parsing of `\.` in man/ms readers. Previously due to a typo it was being parsed as `` ` ``. 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 73122cc14..d1700703c 100644 --- a/src/Text/Pandoc/Readers/Roff.hs +++ b/src/Text/Pandoc/Readers/Roff.hs @@ -202,7 +202,7 @@ escapeNormal = do '*' -> escString ',' -> return mempty -- to fix spacing after roman '-' -> return [RoffStr "-"] - '.' -> return [RoffStr "`"] + '.' -> return [RoffStr "."] '/' -> return mempty -- to fix spacing before roman '0' -> return [RoffStr "\x2007"] -- digit-width space ':' -> return mempty -- zero-width break -- cgit v1.2.3