r106289 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106288‎ | r106289 | r106290 >
Date:00:26, 15 December 2011
Author:gwicke
Status:deferred
Tags:
Comment:
Less lust for urls
Modified paths:
  • /trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/parser/pegTokenizer.pegjs.txt
@@ -630,7 +630,10 @@
631631 //[^][<>"\\x00-\\x20\\x7F\p{Zs}]
632632 url
633633 = 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+ )
635638 / s:[.:,] !(space / eolf) { return s }
636639 / htmlentity
637640 / urlencoded_char

Status & tagging log