git.iko.soy/typeable/pandoc
on master help sign in
Muse reader: make bulletListUntil similar to definitionListUntil
commit659cce8442ee8ba89000b8f499f46a9bbead9cda authorAlexander Krotov <ilabdsf@gmail.com> dateFri 5 Oct 2018, 18:31 (8 years ago) parent7cfce58
1 file changed+1−2
src/Text/Pandoc/Readers/Muse.hs+1−2
src/Text/Pandoc/Readers/Muse.hs+1−2
@@ -570,8 +570,7 @@ bulletListUntil :: PandocMonad m
570570bulletListUntil end = try $ do
571571 indent <- getIndent
572572 guard $ indent /= 0
573− (items, e) <- bulletListItemsUntil indent end
574− return (B.bulletList <$> sequence items, e)
573+ first (fmap B.bulletList . sequence) <$> bulletListItemsUntil indent end
575574
576575museOrderedListMarker :: PandocMonad m
577576 => ListNumberStyle