aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-11-14 14:37:18 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-11-14 14:37:18 +0300
commit6fd3bcceb9374654d79362514862b38991e7a321 (patch)
treeafd9caa7da3f0da25d557750f3b303e1640d747b /src/Text/Pandoc
parent1a102c11a9e8a4f3fc2005bafa1aa373fc1be463 (diff)
downloadpandoc-6fd3bcceb9374654d79362514862b38991e7a321.tar.gz
Muse writer: remove outdated comments
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/Muse.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Writers/Muse.hs b/src/Text/Pandoc/Writers/Muse.hs
index 1d7a3fd77..71fa0aae6 100644
--- a/src/Text/Pandoc/Writers/Muse.hs
+++ b/src/Text/Pandoc/Writers/Muse.hs
@@ -227,7 +227,6 @@ blockToMuse (OrderedList (start, style, _) items) = do
let markers = take (length items) $ orderedListMarkers
(start, style, Period)
contents <- zipWithM orderedListItemToMuse markers items
- -- ensure that sublists have preceding blank line
topLevel <- asks envTopLevel
return $ (if topLevel then nest 1 else id) (vcat contents) $$ blankline
where orderedListItemToMuse :: PandocMonad m
@@ -238,7 +237,6 @@ blockToMuse (OrderedList (start, style, _) items) = do
<$> blockListToMuse item
blockToMuse (BulletList items) = do
contents <- mapM bulletListItemToMuse items
- -- ensure that sublists have preceding blank line
topLevel <- asks envTopLevel
return $ (if topLevel then nest 1 else id) (vcat contents) $$ blankline
where bulletListItemToMuse :: PandocMonad m
@@ -249,7 +247,6 @@ blockToMuse (BulletList items) = do
hang 2 "- " <$> blockListToMuse item
blockToMuse (DefinitionList items) = do
contents <- mapM definitionListItemToMuse items
- -- ensure that sublists have preceding blank line
topLevel <- asks envTopLevel
return $ (if topLevel then nest 1 else id) (vcat contents) $$ blankline
where definitionListItemToMuse :: PandocMonad m