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 +- tests/writer.mediawiki | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 ++ diff --git a/tests/writer.mediawiki b/tests/writer.mediawiki index 398ff2123..5c60bed9a 100644 --- a/tests/writer.mediawiki +++ b/tests/writer.mediawiki @@ -659,6 +659,5 @@ If you want, you can indent every line, but you can also be lazy and just indent This paragraph should not be part of the note, as it is not indented. -== Notes == -- cgit v1.2.3