diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-02-08 22:34:26 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-08 22:34:26 -0800 |
commit | 5c8e12b64bc51542a208b11fb15fa1916bba5a42 (patch) | |
tree | b555ce543f99651f6aebe694ab4cd0a37d1bad93 /src | |
parent | 62c5d17d3f468214e308289cf26db09d56b19ec1 (diff) | |
download | pandoc-5c8e12b64bc51542a208b11fb15fa1916bba5a42.tar.gz |
Fix misleading code comment.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Shared.hs | 3 |
1 files changed, 1 insertions, 2 deletions
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 [] = [] |