diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 37d6a4aca..3f6f91821 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -6781,7 +6781,7 @@ break; } else { if (link = Linkify.regString.exec(result[0])) { - range = Linkify.makeRange(node, node, index + link.index, length); + range = Linkify.makeRange(node, node, index, length); links.push(range); } } diff --git a/builds/crx/script.js b/builds/crx/script.js index ba9788306..d359048b7 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -6792,7 +6792,7 @@ break; } else { if (link = Linkify.regString.exec(result[0])) { - range = Linkify.makeRange(node, node, index + link.index, length); + range = Linkify.makeRange(node, node, index, length); links.push(range); } } diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index 15debb5e1..38d9380d2 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -77,7 +77,7 @@ Linkify = else if link = Linkify.regString.exec result[0] - range = Linkify.makeRange node, node, index + link.index, length + range = Linkify.makeRange node, node, index, length links.push range for range in links.reverse()