aboutsummaryrefslogtreecommitdiff
path: root/Text/Pandoc
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-08-09 16:50:46 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-08-09 16:50:46 +0000
commitf1914c21b7dd62cc65e9c4ac20d70986bddd8775 (patch)
tree60040586b1099de08a749eebb7f84fd16f260a22 /Text/Pandoc
parent80715bd126925c73cc2cb79e18c641506537566a (diff)
downloadpandoc-f1914c21b7dd62cc65e9c4ac20d70986bddd8775.tar.gz
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
Diffstat (limited to 'Text/Pandoc')
-rw-r--r--Text/Pandoc/Writers/ConTeXt.hs2
-rw-r--r--Text/Pandoc/Writers/LaTeX.hs2
2 files changed, 2 insertions, 2 deletions
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