Page MenuHomePhabricator

Table breaks if you press return to create a new paragraph in the middle of a cell, but only if all cells are on one line
Closed, DeclinedPublic

Description

In an article like https://en.wikipedia.org/wiki/Contactless_smartcards_on_the_railways_of_Britain

the table is formatted so that all cells in a row are on one line:

{|
! A A B B C C

-
A 1B 1C 1
}

If you want the table cells to display on separate lines, then you must either add the line break as HTML code, or reformat the table so that each cell is on a separate line.

This is broken:

{|
! A A B B C C

-
A

1 || B 1 || C 1

}

This works:
{|
! A A B B C C

-
A<br>1B 1C 1
}

and this works:

{|
! A A B B C C

-
A 1
B 1
C 1
}

See https://en.wikipedia.org/w/index.php?title=User:Whatamidoing_(WMF)/sandbox&diff=571673983&oldid=571673868 vs https://en.wikipedia.org/w/index.php?title=User:Whatamidoing_(WMF)/sandbox&diff=571674676&oldid=571673983


Version: 1.22.0
Severity: normal

Details

Reference
bz53819

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:54 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz53819.
bzimport added a subscriber: Unknown Object (MLST).

That's the expected behavior. The one-line table row syntax is for one-line cells.