From 5c8e12b64bc51542a208b11fb15fa1916bba5a42 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 8 Feb 2019 22:34:26 -0800 Subject: Fix misleading code comment. --- src/Text/Pandoc/Shared.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs index 3c26c179a..b1ae9eeed 100644 --- a/src/Text/Pandoc/Shared.hs +++ b/src/Text/Pandoc/Shared.hs @@ -416,8 +416,7 @@ capitalize = walk go go x = x -- | Change final list item from @Para@ to @Plain@ if the list contains --- no other @Para@ blocks. Like compactify, but operates on @Blocks@ rather --- than @[Block]@. +-- no other @Para@ blocks. compactify :: [Blocks] -- ^ List of list items (each a list of blocks) -> [Blocks] compactify [] = [] -- cgit v1.2.3