Page MenuHomePhabricator

#switch inserts a linebreak before it
Closed, ResolvedPublic

Description

Author: vlakoff

Description:
Hello,

If I use this wikitext:
begin{{#switch:foo|foo=*bar}}end

I expect to have this result:
begin*barend

However, it give me this:
begin
(bullet) barend

Looks like during parsing a linebreak is inserted before the switch...

Of course, it is the same case with numbered lists (#).

Reproduced on Wikipedia French and English.

Regards


Version: 1.16.x
Severity: major

Details

Reference
bz26000

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:12 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz26000.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 12974 ***