diff options
-rw-r--r-- | src/Text/Pandoc/Writers/MediaWiki.hs | 2 | ||||
-rw-r--r-- | tests/writer.mediawiki | 1 |
2 files changed, 1 insertions, 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<references />" + then "\n<references />" 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 == <references /> |