Index: trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt |
— | — | @@ -709,8 +709,10 @@ |
710 | 710 | wikilink |
711 | 711 | = "[[" |
712 | 712 | ! url |
713 | | - target:link_target ltext:("|" lt:link_text { return lt })* "]]" |
714 | | - suffix:(![ \]] text_char)* { |
| 713 | + target:link_target |
| 714 | + ltext:( "|" lt:link_text { return lt } )* |
| 715 | + "]]" |
| 716 | + suffix:(![ \]] tc:text_char { return tc })* { |
715 | 717 | var obj = { |
716 | 718 | type: 'TAG', |
717 | 719 | name: 'a', |