From f90b82d3d9e53ff005911252d1a9242bba0d5272 Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Tue, 21 Feb 2017 23:03:10 +0100 Subject: MediaWiki writer: Remove newline before `</ref>`. Closes #2652. --- test/writer.mediawiki | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'test') 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> -- cgit v1.2.3