Roff tokenizer: allow `\*~` etc.
commit39f026298d83316de8a64664059f75c4a5c7dc63
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 28 Oct 2018, 21:58 (8 years ago)
parenteb13f76
src/Text/Pandoc/Readers/Roff.hs+1−1
@@ -613,7 +613,7 @@ checkDefined name = do
613613escString :: PandocMonad m => RoffLexer m [LinePart]
614614escString = try $ do
615615 pos <- getPosition
616− (do cs <- escapeArg <|> count 1 alphaNum
616+ (do cs <- escapeArg <|> count 1 anyChar
617617 resolveString cs pos)
618618 <|> mempty <$ char 'S'
619619