diff --git a/CHANGELOG.md b/CHANGELOG.md
index 12d358f84..8fe7163fb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.19
+**v1.11.19.1** *(2015-12-01)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.19.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.19.1/builds/4chan-X-noupdate.crx "Chromium version")]
+- Try to reduce false positives in detection of links split across two lines.
+
**v1.11.19.0** *(2015-11-29)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.19.0/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.19.0/builds/4chan-X-noupdate.crx "Chromium version")]
- Based on v1.11.18.7.
- Add preference `Remember Last Read Post` (on by default). Turning this off disables 4chan X recording your place in threads.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index 48137fb48..b9580d6de 100644
Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ
diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js
index e04fc13f9..ef5f5826b 100644
--- a/builds/4chan-X-beta.meta.js
+++ b/builds/4chan-X-beta.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.11.19.0
+// @version 1.11.19.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js
index 36cd0e0c2..60af03c1c 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
-// @version 1.11.19.0
+// @version 1.11.19.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -433,7 +433,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.19.0',
+ VERSION: '1.11.19.1',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -12354,7 +12354,7 @@
return Linkify.process(this.nodes.comment);
},
process: function(node) {
- var data, end, endNode, i, index, length, links, ref, ref1, result, saved, snapshot, space, test, word;
+ var data, end, endNode, i, index, length, links, part1, part2, ref, ref1, result, saved, snapshot, space, test, word;
test = /[^\s"]+/g;
space = /[\s"]/;
snapshot = $.X('.//br|.//text()', node);
@@ -12373,7 +12373,7 @@
test.lastIndex = 0;
while ((saved = snapshot.snapshotItem(i++))) {
if (saved.nodeName === 'BR') {
- if (/^(https?:\/\/)?[a-z0-9\-\.]+$/i.test(word) && ((ref = snapshot.snapshotItem(i)) != null ? (ref1 = ref.data) != null ? ref1.match(/^(\.[a-z0-9\-]+)*\//i) : void 0 : void 0)) {
+ if ((part1 = word.match(/(https?:\/\/)?([a-z\d-]+\.)*[a-z\d-]+$/i)) && (part2 = (ref = snapshot.snapshotItem(i)) != null ? (ref1 = ref.data) != null ? ref1.match(/^(\.[a-z\d-]+)*\//i) : void 0 : void 0) && (part1[0] + part2[0]).search(Linkify.regString) === 0) {
continue;
} else {
break;
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 93487c176..d3dc63554 100644
Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ
diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js
index 87e66411a..81cf58f4c 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.11.19.0
+// @version 1.11.19.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -433,7 +433,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.19.0',
+ VERSION: '1.11.19.1',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -12354,7 +12354,7 @@
return Linkify.process(this.nodes.comment);
},
process: function(node) {
- var data, end, endNode, i, index, length, links, ref, ref1, result, saved, snapshot, space, test, word;
+ var data, end, endNode, i, index, length, links, part1, part2, ref, ref1, result, saved, snapshot, space, test, word;
test = /[^\s"]+/g;
space = /[\s"]/;
snapshot = $.X('.//br|.//text()', node);
@@ -12373,7 +12373,7 @@
test.lastIndex = 0;
while ((saved = snapshot.snapshotItem(i++))) {
if (saved.nodeName === 'BR') {
- if (/^(https?:\/\/)?[a-z0-9\-\.]+$/i.test(word) && ((ref = snapshot.snapshotItem(i)) != null ? (ref1 = ref.data) != null ? ref1.match(/^(\.[a-z0-9\-]+)*\//i) : void 0 : void 0)) {
+ if ((part1 = word.match(/(https?:\/\/)?([a-z\d-]+\.)*[a-z\d-]+$/i)) && (part2 = (ref = snapshot.snapshotItem(i)) != null ? (ref1 = ref.data) != null ? ref1.match(/^(\.[a-z\d-]+)*\//i) : void 0 : void 0) && (part1[0] + part2[0]).search(Linkify.regString) === 0) {
continue;
} else {
break;
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 08776cac8..b63cdf6ce 100644
Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ
diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js
index d97bf37c0..17d80bb10 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.11.19.0
+// @version 1.11.19.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 81d4e3027..b1d97d214 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.11.19.0
+// @version 1.11.19.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -433,7 +433,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.19.0',
+ VERSION: '1.11.19.1',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -12354,7 +12354,7 @@
return Linkify.process(this.nodes.comment);
},
process: function(node) {
- var data, end, endNode, i, index, length, links, ref, ref1, result, saved, snapshot, space, test, word;
+ var data, end, endNode, i, index, length, links, part1, part2, ref, ref1, result, saved, snapshot, space, test, word;
test = /[^\s"]+/g;
space = /[\s"]/;
snapshot = $.X('.//br|.//text()', node);
@@ -12373,7 +12373,7 @@
test.lastIndex = 0;
while ((saved = snapshot.snapshotItem(i++))) {
if (saved.nodeName === 'BR') {
- if (/^(https?:\/\/)?[a-z0-9\-\.]+$/i.test(word) && ((ref = snapshot.snapshotItem(i)) != null ? (ref1 = ref.data) != null ? ref1.match(/^(\.[a-z0-9\-]+)*\//i) : void 0 : void 0)) {
+ if ((part1 = word.match(/(https?:\/\/)?([a-z\d-]+\.)*[a-z\d-]+$/i)) && (part2 = (ref = snapshot.snapshotItem(i)) != null ? (ref1 = ref.data) != null ? ref1.match(/^(\.[a-z\d-]+)*\//i) : void 0 : void 0) && (part1[0] + part2[0]).search(Linkify.regString) === 0) {
continue;
} else {
break;
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 12009e7fa..df9ba67b7 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index 439d1e56e..e64691e57 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.xml b/builds/updates.xml
index 224b96c9b..b8e86f1d6 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index 599867276..7f69afa34 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.11.19.0",
- "date": "2015-11-30T01:27:49.597Z"
+ "version": "1.11.19.1",
+ "date": "2015-12-01T11:21:21.155Z"
}