diff options
-rw-r--r-- | src/Text/Pandoc/Writers/Man.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Man.hs b/src/Text/Pandoc/Writers/Man.hs index 9f590f525..f0cc3c707 100644 --- a/src/Text/Pandoc/Writers/Man.hs +++ b/src/Text/Pandoc/Writers/Man.hs @@ -58,7 +58,7 @@ pandocToMan opts (Pandoc meta blocks) = do (head, foot) <- metaToMan opts meta body <- blockListToMan opts blocks (notes, preprocessors) <- get - let preamble = if null preprocessors + let preamble = if null preprocessors || not (writerStandalone opts) then empty else text $ ".\\\" " ++ concat (nub preprocessors) notes' <- notesToMan opts (reverse notes) |