diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-03-23 14:22:54 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-03-23 14:22:54 -0400 |
commit | 7af2e6f87a754312809aa044edd062930616401a (patch) | |
tree | 0c303441b9c885db49ddb82f8792cc8e7184d362 | |
parent | 6275ad2ae48807738ddd9a28bd69ff3f5ccc1a50 (diff) | |
parent | c16fcbbfaf44aaecc7365466c3dd24d2c8242512 (diff) | |
download | chat-7af2e6f87a754312809aa044edd062930616401a.tar.gz chat-7af2e6f87a754312809aa044edd062930616401a.tar.bz2 chat-7af2e6f87a754312809aa044edd062930616401a.zip |
Merge pull request #2516 from hmhealey/disableautolinker
Disabled autolinker
-rw-r--r-- | webapp/utils/utils.jsx | 10 |
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) { |