From c16fcbbfaf44aaecc7365466c3dd24d2c8242512 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Wed, 23 Mar 2016 13:13:15 -0400 Subject: Disabled autolinker --- webapp/utils/utils.jsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'webapp/utils/utils.jsx') 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) { -- cgit v1.2.3-1-g7c22