diff --git a/docs/example-colspan.html b/docs/example-colspan.html index f63da58f..a06a401f 100644 --- a/docs/example-colspan.html +++ b/docs/example-colspan.html @@ -137,7 +137,7 @@ Search: Product ID Numeric Animals - Url + Url @@ -146,7 +146,7 @@ Search: Product ID Numeric Animals - Url + Url diff --git a/index.html b/index.html index 793fd850..a4c0fc6e 100644 --- a/index.html +++ b/index.html @@ -50,7 +50,7 @@ abc 11£3,20Chimphttp://www.ucla.edu/ abc 2£56,10Elephanthttp://www.wikipedia.org/ abc 9£3,20Lionhttp://www.nytimes.com/ - ABC 10£87,00Zebrahttp://www.google.com + ABC 10£87,00Zebrahttps://github.com zyx 1£99,90Koalahttp://www.mit.edu/ zyx 12£234,10Llamahttp://www.nasa.gov/ diff --git a/js/jquery.tablesorter.js b/js/jquery.tablesorter.js index f931a83d..96962d4c 100644 --- a/js/jquery.tablesorter.js +++ b/js/jquery.tablesorter.js @@ -2534,8 +2534,8 @@ // too many protocols to add them all https://en.wikipedia.org/wiki/URI_scheme // now, this regex can be updated before initialization - ts.regex.urlProtocolTest = /^(https?|ftp|file):\/\//; - ts.regex.urlProtocolReplace = /(https?|ftp|file):\/\//; + ts.regex.urlProtocolTest = /^(https?|ftp|file):\/\//; + ts.regex.urlProtocolReplace = /(https?|ftp|file):\/\/(www\.)?/; ts.addParser({ id : 'url', is : function( str ) { @@ -2544,7 +2544,6 @@ format : function( str ) { return str ? $.trim( str.replace( ts.regex.urlProtocolReplace, '' ) ) : str; }, - parsed : true, // filter widget flag type : 'text' });