Author: fibonacci.prower
Description:
Some (if not all) of the ParserFunctions appear to be inserting a newline character before the returned string. For example, if the wiki source contains this:
a{{#if:x|#1}}
Instead of rendering it as a#1, MediaWiki produces this in the HTML source:
<p>a</p>
<ol>
<li>1</li>
</ol>
Which is what I would have expected if the wiki source had been this:
a
#1
If the character before 1 is an asterisk, the same problem can be noticed. However, a{{#if:x|1}} renders as expected - understandable, since if there were a newline right after the "a", the result would be the same as if there were none.
Version: unspecified
Severity: normal
URL: http://test.wikipedia.org/wiki/Bug_10687