Man reader: .IP can also be used for list continuations.

This commit is contained in:
John MacFarlane 2018-10-21 22:20:47 -07:00
parent 382763a7db
commit 8448eb3b69

View file

@ -712,11 +712,12 @@ parseList = try $ do
Ordered lattr -> orderedListWith lattr (x:xs)
continuation :: PandocMonad m => ManParser m Blocks
continuation = do
continuation = (do
mmacro "RS"
bs <- mconcat <$> many (notFollowedBy (mmacro "RE") >> parseBlock)
mmacro "RE"
return bs
return bs)
<|> mconcat <$> (many1 (try (bareIP *> parsePara)))
definitionListItem :: PandocMonad m
=> ManParser m (Inlines, [Blocks])