Index: trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt |
— | — | @@ -539,6 +539,8 @@ |
540 | 540 | = //& { dp('inline_element enter' + input.substr(pos, 10)); return true; } |
541 | 541 | & '<' ( comment / xmlish_tag ) |
542 | 542 | / & '{' ( & '{{{{{' template / tplarg / template ) |
| 543 | + // Eat three opening brackets as text. |
| 544 | + / '[[[' { return { type: 'TEXT', value: '[[[' } } |
543 | 545 | / & '[' ( wikilink / extlink ) |
544 | 546 | / & "'" quote |
545 | 547 | |