mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Accept row-only tables. The parser now eats [[en:Barack Obama]] as-is. Hooray!
This commit is contained in:
parent
6df94a34a1
commit
3585bd9c8e
|
@ -1027,7 +1027,7 @@ table_row
|
|||
|
||||
table_data
|
||||
= //& { dp("table_data enter, pos=" + pos + input.substr(pos,10)); return true; }
|
||||
n:("||" { return [] } / nt:newlineToken "|" { return nt })
|
||||
n:("||" { return [] } / nt:newlineToken ("|" / !'!') { return nt })
|
||||
! [}+-]
|
||||
//& { dp('before attrib, pos=' + pos); return true; }
|
||||
a:(as:generic_attribute+ space* "|" !"|" { return as } )?
|
||||
|
|
Loading…
Reference in a new issue