From 1266b210ac51273cdfe2913fb1d710e1a20f5e9b Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Mon, 17 Oct 2016 22:11:03 +0200 Subject: Org writer: drop space before footnote markers The writer no longer adds an extra space before footnote markers. Fixes: #3162 --- src/Text/Pandoc/Writers/Org.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/Org.hs b/src/Text/Pandoc/Writers/Org.hs index a74481171..18a820f2e 100644 --- a/src/Text/Pandoc/Writers/Org.hs +++ b/src/Text/Pandoc/Writers/Org.hs @@ -373,7 +373,7 @@ inlineToOrg (Note contents) = do notes <- get >>= (return . stNotes) modify $ \st -> st { stNotes = contents:notes } let ref = show $ (length notes) + 1 - return $ " [" <> text ref <> "]" + return $ "[" <> text ref <> "]" orgPath :: String -> String orgPath src = -- cgit v1.2.3