diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-02-27 03:57:24 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-02-27 03:57:24 +0000 |
commit | f2552cf382a12c9465eac9b5ce1a28b519c61a1a (patch) | |
tree | 14afa32a7e59c6c4f7d0cb957a22ed52685bbdee /src/Text | |
parent | 9089e5488054f42441c77c286224dc63081f0e8c (diff) | |
download | pandoc-f2552cf382a12c9465eac9b5ce1a28b519c61a1a.tar.gz |
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
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Writers/MediaWiki.hs | 2 |
1 files changed, 1 insertions, 1 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 ++ |