git.iko.soy/typeable/pandoc
on master help sign in
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

commitf2552cf382a12c9465eac9b5ce1a28b519c61a1a authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSat 27 Feb 2010, 03:57 (17 years ago) parent9089e54
2 files changed+1−2
src/Text/Pandoc/Writers/MediaWiki.hs+1−1 tests/writer.mediawiki−1
src/Text/Pandoc/Writers/MediaWiki.hs+1−1
@@ -58,7 +58,7 @@ pandocToMediaWiki opts (Pandoc _ blocks) = do
5858 body <- blockListToMediaWiki opts blocks
5959 notesExist <- get >>= return . stNotes
6060 let notes = if notesExist
61− then "\n== Notes ==\n<references />"
61+ then "\n<references />"
6262 else ""
6363 let main = before ++ body ++ after ++ notes
6464 let context = writerVariables opts ++
tests/writer.mediawiki−1
@@ -659,6 +659,5 @@ If you want, you can indent every line, but you can also be lazy and just indent
659659
660660This paragraph should not be part of the note, as it is not indented.
661661
662−== Notes ==
663662<references />
664663