Merge pull request #393 from oliv3r/HTML_ips

HTML IPs
pull/397/head
Allan Jardine 6 years ago committed by GitHub
commit 83ab4f0543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,11 +18,18 @@
jQuery.extend( jQuery.fn.dataTableExt.oSort, { jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"ip-address-pre": function ( a ) { "ip-address-pre": function ( a ) {
if (!a) { return 0 }
var i, item; var i, item;
var m = a.split("."), var m, n;
n = a.split(":"), var x, xa;
x = "",
if (!a) {
return 0
}
a = a.replace(/<[\s\S]*?>/g, "");
m = a.split(".");
n = a.split(":");
x = "";
xa = ""; xa = "";
if (m.length == 4) { if (m.length == 4) {

Loading…
Cancel
Save