summaryrefslogtreecommitdiffstats
path: root/web/react/utils/text_formatting.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/utils/text_formatting.jsx')
-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
});