summaryrefslogtreecommitdiffstats
path: root/webapp/utils/utils.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-03-23 13:13:15 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2016-03-23 13:13:15 -0400
commitc16fcbbfaf44aaecc7365466c3dd24d2c8242512 (patch)
tree73cce1776087e543576b5209b79ce073ccb0e6d5 /webapp/utils/utils.jsx
parentaed690c5891a2cff97cc5fa00648c86be54ed8ee (diff)
downloadchat-c16fcbbfaf44aaecc7365466c3dd24d2c8242512.tar.gz
chat-c16fcbbfaf44aaecc7365466c3dd24d2c8242512.tar.bz2
chat-c16fcbbfaf44aaecc7365466c3dd24d2c8242512.zip
Disabled autolinker
Diffstat (limited to 'webapp/utils/utils.jsx')
-rw-r--r--webapp/utils/utils.jsx10
1 files changed, 8 insertions, 2 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx
index 95a0f99d5..5f16baf1f 100644
--- a/webapp/utils/utils.jsx
+++ b/webapp/utils/utils.jsx
@@ -314,7 +314,13 @@ export function getTimestamp() {
// extracts links not styled by Markdown
export function extractLinks(text) {
- const links = [];
+ text; // eslint-disable-line no-unused-expressions
+ Autolinker; // eslint-disable-line no-unused-expressions
+
+ // skip this operation because autolinker is having issues
+ return [];
+
+ /*const links = [];
let inText = text;
// strip out code blocks
@@ -348,7 +354,7 @@ export function extractLinks(text) {
}
);
- return links;
+ return links;*/
}
export function escapeRegExp(string) {