diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-03-05 19:22:41 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-03-05 19:22:41 -0800 |
commit | 4eb0c1eec1704cc85128d7da62fb9c9d113c41b5 (patch) | |
tree | b3e22b36279ee5f4937539b9142384d27d0c8dc3 /src | |
parent | c78b30bd286f49cb0a0951a1f022e2626a9295dd (diff) | |
download | pandoc-4eb0c1eec1704cc85128d7da62fb9c9d113c41b5.tar.gz |
Fix parsing of `\.` in man/ms readers.
Previously due to a typo it was being parsed as `` ` ``.
Closes #6175.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/Roff.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |