summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-10-08 15:59:21 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-10-08 15:59:21 -0400
commit3c489518e6494d424f52aa299a3bbfab46a98043 (patch)
tree24e5b44d76d62699a9fbadba61aba10680943907
parent9a177d7aa8b26fff80f2a334ac826a67b96baffc (diff)
downloadchat-3c489518e6494d424f52aa299a3bbfab46a98043.tar.gz
chat-3c489518e6494d424f52aa299a3bbfab46a98043.tar.bz2
chat-3c489518e6494d424f52aa299a3bbfab46a98043.zip
Fixed html used for autolinking
-rw-r--r--web/react/utils/text_formatting.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/text_formatting.jsx b/web/react/utils/text_formatting.jsx
index a90a8bcc1..2b6e6e14e 100644
--- a/web/react/utils/text_formatting.jsx
+++ b/web/react/utils/text_formatting.jsx
@@ -102,7 +102,7 @@ function autolinkUrls(text, tokens) {
}
tokens.set(alias, {
- value: '<a class="theme"' + target + ' href="${url}">${linkText}</a>',
+ value: `<a class="theme" ${target} href="${url}">${linkText}</a>`,
originalText: linkText
});