diff --git a/src/Text/Pandoc/Writers/MediaWiki.hs b/src/Text/Pandoc/Writers/MediaWiki.hs
index ca29fe2e1..81e7a6d33 100644
--- a/src/Text/Pandoc/Writers/MediaWiki.hs
+++ b/src/Text/Pandoc/Writers/MediaWiki.hs
@@ -360,7 +360,7 @@ inlineToMediaWiki opts (Quoted DoubleQuote lst) = do
inlineToMediaWiki opts (Cite _ lst) = inlineListToMediaWiki opts lst
inlineToMediaWiki _ (Code _ str) =
- return $ "" ++ (escapeString str) ++ ""
+ return $ "" ++ (escapeString str) ++ ""
inlineToMediaWiki _ (Str str) = return $ escapeString str
diff --git a/tests/writer.mediawiki b/tests/writer.mediawiki
index a3f1f2b65..d275bd2a8 100644
--- a/tests/writer.mediawiki
+++ b/tests/writer.mediawiki
@@ -432,7 +432,7 @@ So is '''''this''''' word.
So is '''''this''''' word.
-This is code: >, $, \, \$, <html>.
+This is code: >, $, \, \$, <html>.
This is ''strikeout''.
@@ -455,7 +455,7 @@ These should not be superscripts or subscripts, because of the unescaped spaces:
‘He said, “I want to go.”’ Were you alive in the 70’s?
-Here is some quoted ‘code’ and a “[http://example.com/?foo=1&bar=2 quoted link]”.
+Here is some quoted ‘code’ and a “[http://example.com/?foo=1&bar=2 quoted link]”.
Some dashes: one—two — three—four — five.
@@ -479,10 +479,10 @@ Ellipses…and…and….
These shouldn’t be math:
-* To get the famous equation, write $e = mc^2$.
+* To get the famous equation, write $e = mc^2$.
* $22,000 is a ''lot'' of money. So is $34,000. (It worked if “lot” is emphasized.)
* Shoes ($20) and socks ($5).
-* Escaped $: $73 ''this should be emphasized'' 23$.
+* Escaped $: $73 ''this should be emphasized'' 23$.
Here’s a LaTeX table:
@@ -610,11 +610,11 @@ With an ampersand: http://example.com/?foo=1&bar=2
* http://example.com/
* It should.
-An e-mail address: [mailto:nobody@nowhere.net nobody@nowhere.net]
+An e-mail address: [mailto:nobody@nowhere.net nobody@nowhere.net]
Blockquoted: http://example.com/-Auto-links should not occur here: <http://example.com/> +Auto-links should not occur here:
<http://example.com/>
or here: <http://example.com/>@@ -640,7 +640,7 @@ Subsequent blocks are indented to show that they belong to the footnote (as with
{ <code> }
If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.
- This should ''not'' be a footnote reference, because it contains a space.[^my note] Here is an inline note.This is ''easier'' to type. Inline notes may contain [http://google.com links] and ] verbatim characters, as well as [bracketed text].
+ This should ''not'' be a footnote reference, because it contains a space.[^my note] Here is an inline note.This is ''easier'' to type. Inline notes may contain [http://google.com links] and ] verbatim characters, as well as [bracketed text].
Notes can go in quotes.In quote.