summaryrefslogtreecommitdiffstats
path: root/webapp/utils/utils.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-03-23 14:22:54 -0400
committerJoram Wilander <jwawilander@gmail.com>2016-03-23 14:22:54 -0400
commit7af2e6f87a754312809aa044edd062930616401a (patch)
tree0c303441b9c885db49ddb82f8792cc8e7184d362 /webapp/utils/utils.jsx
parent6275ad2ae48807738ddd9a28bd69ff3f5ccc1a50 (diff)
parentc16fcbbfaf44aaecc7365466c3dd24d2c8242512 (diff)
downloadchat-7af2e6f87a754312809aa044edd062930616401a.tar.gz
chat-7af2e6f87a754312809aa044edd062930616401a.tar.bz2
chat-7af2e6f87a754312809aa044edd062930616401a.zip
Merge pull request #2516 from hmhealey/disableautolinker
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) {