r107061 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107060‎ | r107061 | r107062 >
Date:12:09, 22 December 2011
Author:gwicke
Status:deferred
Tags:
Comment:
Fix regression introduced by r107060 for regular table cells. Good to have a
test suite ;)
Modified paths:
  • /trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt
@@ -1032,7 +1032,7 @@
10331033 a:generic_attribute*
10341034 space*
10351035 // handle tables with missing table cells after a row
1036 - td:( s:sol !'!' tdt:table_data_tag { return s.concat(tdt); } )?
 1036+ td:( s:sol ![|!] tdt:table_data_tag { return s.concat(tdt); } )?
10371037 {
10381038 // We rely on our tree builder to close the row as needed. This is
10391039 // needed to support building tables from fragment templates with

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107060Re-add support for row-only tables.gwicke11:58, 22 December 2011

Status & tagging log