diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Writers/Texinfo.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Texinfo.hs b/src/Text/Pandoc/Writers/Texinfo.hs index 21d1f4eca..4a4dde461 100644 --- a/src/Text/Pandoc/Writers/Texinfo.hs +++ b/src/Text/Pandoc/Writers/Texinfo.hs @@ -328,7 +328,8 @@ blockListToTexinfo (x:xs) = do lines' <- mapM makeMenuLine menu let menu' = if null lines' then empty - else text "@menu" $$ + else blankline $$ + text "@menu" $$ vcat lines' $$ text "@end menu" after' <- blockListToTexinfo after |