From f2552cf382a12c9465eac9b5ce1a28b519c61a1a Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sat, 27 Feb 2010 03:57:24 +0000 Subject: Mediawiki writer: Don't print a "== Notes ==" header before references. This is too English-centric. Writers can provide their own header at the end of the document. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1850 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/Text/Pandoc/Writers/MediaWiki.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/MediaWiki.hs b/src/Text/Pandoc/Writers/MediaWiki.hs index bde5cc9e1..cdaa8bef0 100644 --- a/src/Text/Pandoc/Writers/MediaWiki.hs +++ b/src/Text/Pandoc/Writers/MediaWiki.hs @@ -58,7 +58,7 @@ pandocToMediaWiki opts (Pandoc _ blocks) = do body <- blockListToMediaWiki opts blocks notesExist <- get >>= return . stNotes let notes = if notesExist - then "\n== Notes ==\n" + then "\n" else "" let main = before ++ body ++ after ++ notes let context = writerVariables opts ++ -- cgit v1.2.3