diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-21 23:03:10 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-21 23:03:10 +0100 |
commit | f90b82d3d9e53ff005911252d1a9242bba0d5272 (patch) | |
tree | efa0525ca9fbb6b2c9aeaf732b84c3df369bd3f4 /test | |
parent | e462f80d74e7d0297ae96dc8bd57cb66dcccfa71 (diff) | |
download | pandoc-f90b82d3d9e53ff005911252d1a9242bba0d5272.tar.gz |
MediaWiki writer: Remove newline before `</ref>`.
Closes #2652.
Diffstat (limited to 'test')
-rw-r--r-- | test/writer.mediawiki | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/writer.mediawiki b/test/writer.mediawiki index 71b8e7f3e..a0dc15fae 100644 --- a/test/writer.mediawiki +++ b/test/writer.mediawiki @@ -633,18 +633,14 @@ Here is a movie [[File:movie.jpg|movie]] icon. = Footnotes = -Here is a footnote reference,<ref>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document. -</ref> and another.<ref>Here’s the long note. This one contains multiple blocks. +Here is a footnote reference,<ref>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.</ref> and another.<ref>Here’s the long note. This one contains multiple blocks. Subsequent blocks are indented to show that they belong to the footnote (as with list items). <pre> { <code> }</pre> -If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. -</ref> This should ''not'' be a footnote reference, because it contains a space.[^my note] Here is an inline note.<ref>This is ''easier'' to type. Inline notes may contain [http://google.com links] and <code>]</code> verbatim characters, as well as [bracketed text]. -</ref> +If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.</ref> This should ''not'' be a footnote reference, because it contains a space.[^my note] Here is an inline note.<ref>This is ''easier'' to type. Inline notes may contain [http://google.com links] and <code>]</code> verbatim characters, as well as [bracketed text].</ref> -<blockquote>Notes can go in quotes.<ref>In quote. -</ref> +<blockquote>Notes can go in quotes.<ref>In quote.</ref> </blockquote> # And in list items.<ref>In list.</ref> |