aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-23 00:18:41 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-23 00:18:41 -0700
commitc6590b193d0a05fa251a4ed2dff946615a896c78 (patch)
tree7fff4e8815cfd57a79c5bf502eabab21f5d5bd72 /src/Text/Pandoc/Readers
parent8b82667f8ae8f75f52bfcaeba40e7cddc0cf54e6 (diff)
downloadpandoc-c6590b193d0a05fa251a4ed2dff946615a896c78.tar.gz
Man reader: handle \fS as a no-op.
This changes font, but to what? Can't find in documentation.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-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 d93e3190b..dcdaad474 100644
--- a/src/Text/Pandoc/Readers/Man.hs
+++ b/src/Text/Pandoc/Readers/Man.hs
@@ -247,6 +247,7 @@ escapeLexer = try $ do
font <- choice
[ S.singleton <$> letterFontKind
, char '(' >> anyChar >> anyChar >> return (S.singleton Regular)
+ , char 'S' >> return (S.singleton Regular)
, try lettersFont
, digit >> return (S.singleton Regular)
]