From f1914c21b7dd62cc65e9c4ac20d70986bddd8775 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sat, 9 Aug 2008 16:50:46 +0000 Subject: Removed unneeded space after "\\item" in LaTeX and ConTeXt output. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1384 788f1e2b-df1e-0410-8736-df70ead52e1b --- Text/Pandoc/Writers/ConTeXt.hs | 2 +- Text/Pandoc/Writers/LaTeX.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Text/Pandoc') diff --git a/Text/Pandoc/Writers/ConTeXt.hs b/Text/Pandoc/Writers/ConTeXt.hs index 297322159..62e205ee5 100644 --- a/Text/Pandoc/Writers/ConTeXt.hs +++ b/Text/Pandoc/Writers/ConTeXt.hs @@ -221,7 +221,7 @@ tableRowToConTeXt cols = do listItemToConTeXt :: [Block] -> State WriterState Doc listItemToConTeXt list = blockListToConTeXt list >>= - return . (text "\\item " $$) . (nest 2) + return . (text "\\item" $$) . (nest 2) defListItemToConTeXt :: ([Inline], [Block]) -> State WriterState BlockWrapper defListItemToConTeXt (term, def) = do diff --git a/Text/Pandoc/Writers/LaTeX.hs b/Text/Pandoc/Writers/LaTeX.hs index 53c6e65e0..89170dee1 100644 --- a/Text/Pandoc/Writers/LaTeX.hs +++ b/Text/Pandoc/Writers/LaTeX.hs @@ -227,7 +227,7 @@ tableRowToLaTeX cols = mapM blockListToLaTeX cols >>= (if isEmpty row then empty else text " & ") <> item) empty listItemToLaTeX :: [Block] -> State WriterState Doc -listItemToLaTeX lst = blockListToLaTeX lst >>= return . (text "\\item " $$) . +listItemToLaTeX lst = blockListToLaTeX lst >>= return . (text "\\item" $$) . (nest 2) defListItemToLaTeX :: ([Inline], [Block]) -> State WriterState Doc -- cgit v1.2.3