summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5b0c72b)
Bug: T153140
Change-Id: I799363727162a0f337652b26bb69fe35c61a8553
# T2553: Note that a '|' inside an invalid link should not
# be mistaken as delimiting cell parameters
# T2553: Note that a '|' inside an invalid link should not
# be mistaken as delimiting cell parameters
- if ( strpos( $cell_data[0], '[[' ) !== false ) {
+ # Bug T153140: Neither should language converter markup.
+ if ( preg_match( '/\[\[|-\{/', $cell_data[0] ) === 1 ) {
$cell = "{$previous}<{$last_tag}>{$cell}";
} elseif ( count( $cell_data ) == 1 ) {
$cell = "{$previous}<{$last_tag}>{$cell_data[0]}";
$cell = "{$previous}<{$last_tag}>{$cell}";
} elseif ( count( $cell_data ) == 1 ) {
$cell = "{$previous}<{$last_tag}>{$cell_data[0]}";
-# FIXME: This test is currently broken in the PHP parser (bug 52661)
-Don't break table handling if language converter markup is in the cell.
+T153140: Don't break table handling if language converter markup is in the cell.
!! options
language=sr variant=sr-ec
!! wikitext
!! options
language=sr variant=sr-ec
!! wikitext
</td></tr></table>
!! html/parsoid
</td></tr></table>
!! html/parsoid