From 39f026298d83316de8a64664059f75c4a5c7dc63 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 28 Oct 2018 21:58:31 -0700 Subject: Roff tokenizer: allow `\*~` etc. --- src/Text/Pandoc/Readers/Roff.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text/Pandoc/Readers/Roff.hs b/src/Text/Pandoc/Readers/Roff.hs index 524801a08..da33651d2 100644 --- a/src/Text/Pandoc/Readers/Roff.hs +++ b/src/Text/Pandoc/Readers/Roff.hs @@ -613,7 +613,7 @@ checkDefined name = do escString :: PandocMonad m => RoffLexer m [LinePart] escString = try $ do pos <- getPosition - (do cs <- escapeArg <|> count 1 alphaNum + (do cs <- escapeArg <|> count 1 anyChar resolveString cs pos) <|> mempty <$ char 'S' -- cgit v1.2.3