1
edit
Changes
m
_name: "Valid URL",
suggest: function( text, html ) { if (!text) return [ CmdUtils.makeSugg("http://") ];
if(/^[A-Za-z0-9]+:\/\/([A-Za-z0-9_-]+)(\.([A-Za-z0-9_-]+))+(\/([A-Za-z0-9_-~]+))+[/]?$/.test(text)){ return [ CmdUtils.makeSugg(text) ]; }
return [ CmdUtils.makeSugg("http://" + text) ]; } };
no edit summary
var noun_type_url = {