Merge pull request #1218 from jtracey/urlRegexpFix
add [] to the ignored end characters in url regex
This commit is contained in:
commit
116d3bd4bd
|
@ -24,7 +24,7 @@ var Plugin = function(name, contentForMessage) {
|
||||||
|
|
||||||
|
|
||||||
// Regular expression that detects URLs for UrlPlugin
|
// Regular expression that detects URLs for UrlPlugin
|
||||||
var urlRegexp = /(?:(?:https?|ftp):\/\/|www\.|ftp\.)\S*[^\s.;,(){}<>]/g;
|
var urlRegexp = /(?:(?:https?|ftp):\/\/|www\.|ftp\.)\S*[^\s.;,(){}<>[\]]/g;
|
||||||
/*
|
/*
|
||||||
* Definition of a user provided plugin that consumes URLs
|
* Definition of a user provided plugin that consumes URLs
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue