Page MenuHomePhabricator

Template parameters with defaults break inside tables
Closed, DeclinedPublic

Description

Author: emmet

Description:
A template parameter with a default {{{foo|bar}}} breaks badly inside a table.

It seems like the "|" (between 'foo' and 'bar') may be being interpreted as the
end of the table cell.

Using HTML tables as a workaround doesn't appear to work either, since the
parameter reference doesn't seem to be interpreted at all.


Version: 1.5.x
Severity: normal

Details

Reference
bz4060

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:59 PM
bzimport set Reference to bz4060.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

Could bugs please not be closed WORKSFORME without at least a comment giving the test performed on current software and the results from it, which led to the WORKSFORME conclusion? Thank you.

Test case that worked for me:

{|border=1

foo
{{{barDEFAULT}}}
baz
}

Both old and new parsers.