diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-09-23 10:22:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-23 10:22:35 -0400 |
commit | 214f9c13a261064733c23d762fa521444fbd7a9c (patch) | |
tree | e02c19d673d05b7de6d2e2e36698f61fabee836e /webapp/utils/text_formatting.jsx | |
parent | 90f113dcda43a6455e431029a87e35ab8c537a73 (diff) | |
download | chat-214f9c13a261064733c23d762fa521444fbd7a9c.tar.gz chat-214f9c13a261064733c23d762fa521444fbd7a9c.tar.bz2 chat-214f9c13a261064733c23d762fa521444fbd7a9c.zip |
Updating client dependancies (#4083)
Diffstat (limited to 'webapp/utils/text_formatting.jsx')
-rw-r--r-- | webapp/utils/text_formatting.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/utils/text_formatting.jsx b/webapp/utils/text_formatting.jsx index 23e286b45..3b96a1b42 100644 --- a/webapp/utils/text_formatting.jsx +++ b/webapp/utils/text_formatting.jsx @@ -117,7 +117,7 @@ export function sanitizeHtml(text) { // Convert emails into tokens function autolinkEmails(text, tokens) { - function replaceEmailWithToken(autolinker, match) { + function replaceEmailWithToken(match) { const linkText = match.getMatchedText(); let url = linkText; @@ -141,7 +141,7 @@ function autolinkEmails(text, tokens) { urls: false, email: true, phone: false, - twitter: false, + mention: false, hashtag: false, replaceFn: replaceEmailWithToken }); |