mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 00:15:44 +00:00
Use mapM_ instead of () <$ mapM in one place.
This commit is contained in:
@@ -274,7 +274,7 @@ optionalAttributes parser = try $
|
||||
parseBlockAttributes :: OrgParser ()
|
||||
parseBlockAttributes = do
|
||||
attrs <- many attribute
|
||||
() <$ mapM (uncurry parseAndAddAttribute) attrs
|
||||
mapM_ (uncurry parseAndAddAttribute) attrs
|
||||
where
|
||||
attribute :: OrgParser (String, String)
|
||||
attribute = try $ do
|
||||
|
||||
Reference in New Issue
Block a user