aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-22 11:06:27 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-22 11:06:27 -0700
commit22078a8690190d5832fd99c36cb73d34b0bd00bd (patch)
tree997cd6f778d0cc26ac302eb1bd6079fc0871e5c5 /src/Text/Pandoc
parent70d2a1d9c11f96fcf235a54bc838e9b14efe2f71 (diff)
downloadpandoc-22078a8690190d5832fd99c36cb73d34b0bd00bd.tar.gz
Man reader: handle `\~` for nonbreaking space.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/Man.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Man.hs b/src/Text/Pandoc/Readers/Man.hs
index 00355b5d5..83e4fc681 100644
--- a/src/Text/Pandoc/Readers/Man.hs
+++ b/src/Text/Pandoc/Readers/Man.hs
@@ -188,6 +188,7 @@ escapeLexer = try $ do
'|' -> return " "
'\'' -> return "`"
'.' -> return "`"
+ '~' -> return "\160" -- nonbreaking space
_ -> escUnknown [c] "\xFFFD"
where