diff options
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/Groff.hs | 1 | ||||
-rw-r--r-- | src/Text/Pandoc/Writers/Ms.hs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/Groff.hs b/src/Text/Pandoc/Writers/Groff.hs index a3b81d138..b7f039cc8 100644 --- a/src/Text/Pandoc/Writers/Groff.hs +++ b/src/Text/Pandoc/Writers/Groff.hs @@ -34,7 +34,6 @@ module Text.Pandoc.Writers.Groff ( , defaultWriterState , MS , Note - , escapeChar , escapeString , escapeCode , withFontFeature diff --git a/src/Text/Pandoc/Writers/Ms.hs b/src/Text/Pandoc/Writers/Ms.hs index ec7f9bf33..e077e9ed9 100644 --- a/src/Text/Pandoc/Writers/Ms.hs +++ b/src/Text/Pandoc/Writers/Ms.hs @@ -125,7 +125,7 @@ toSmallCaps opts (c:cs) "\\s0" ++ toSmallCaps opts rest | isUpper c = let (uppers,rest) = span isUpper (c:cs) in escString opts uppers ++ toSmallCaps opts rest - | otherwise = escapeChar (writerPreferAscii opts) c ++ toSmallCaps opts cs + | otherwise = escapeString (writerPreferAscii opts) [c] ++ toSmallCaps opts cs -- We split inline lists into sentences, and print one sentence per -- line. groff/troff treats the line-ending period differently. |