mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Eat '[[[' as plain text token, makes it 212 passing.
This commit is contained in:
parent
178adbc342
commit
336be4f617
Notes:
Gabriel Wicke
2012-02-27 16:40:01 +00:00
|
@ -539,6 +539,8 @@ inline_element
|
||||||
= //& { dp('inline_element enter' + input.substr(pos, 10)); return true; }
|
= //& { dp('inline_element enter' + input.substr(pos, 10)); return true; }
|
||||||
& '<' ( comment / xmlish_tag )
|
& '<' ( comment / xmlish_tag )
|
||||||
/ & '{' ( & '{{{{{' template / tplarg / template )
|
/ & '{' ( & '{{{{{' template / tplarg / template )
|
||||||
|
// Eat three opening brackets as text.
|
||||||
|
/ '[[[' { return { type: 'TEXT', value: '[[[' } }
|
||||||
/ & '[' ( wikilink / extlink )
|
/ & '[' ( wikilink / extlink )
|
||||||
/ & "'" quote
|
/ & "'" quote
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue