diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-10-08 15:59:21 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-10-08 15:59:21 -0400 |
commit | 3c489518e6494d424f52aa299a3bbfab46a98043 (patch) | |
tree | 24e5b44d76d62699a9fbadba61aba10680943907 /web/react/utils | |
parent | 9a177d7aa8b26fff80f2a334ac826a67b96baffc (diff) | |
download | chat-3c489518e6494d424f52aa299a3bbfab46a98043.tar.gz chat-3c489518e6494d424f52aa299a3bbfab46a98043.tar.bz2 chat-3c489518e6494d424f52aa299a3bbfab46a98043.zip |
Fixed html used for autolinking
Diffstat (limited to 'web/react/utils')
-rw-r--r-- | web/react/utils/text_formatting.jsx | 2 |
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 }); |