Index: trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt |
— | — | @@ -630,7 +630,10 @@ |
631 | 631 | //[^][<>"\\x00-\\x20\\x7F\p{Zs}] |
632 | 632 | url |
633 | 633 | = proto:url_protocol |
634 | | - rest:( [^ :\]\[\n"'<>\x00-\x20\x7f,.&%\u00A0\u1680\u180E\u2000-\u200A\u202F\u205F\u3000] |
| 634 | + rest:( ( !inline_breaks |
| 635 | + c:[^ :\]\[\n"'<>\x00-\x20\x7f,.&%\u00A0\u1680\u180E\u2000-\u200A\u202F\u205F\u3000] |
| 636 | + { return c } |
| 637 | + ) |
635 | 638 | / s:[.:,] !(space / eolf) { return s } |
636 | 639 | / htmlentity |
637 | 640 | / urlencoded_char |