diff options
Diffstat (limited to 'webapp/utils')
-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) { |