summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-09-23 17:53:46 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-09-23 17:53:46 -0400
commit466f470ff155e97bc50e19c44581c279aa60ca1c (patch)
treeda209b3736024edbda796e02889497cab7f7dc81 /web/react/utils
parentc7c644874e98db0ae83c5a44ec50ff811d9b3f46 (diff)
downloadchat-466f470ff155e97bc50e19c44581c279aa60ca1c.tar.gz
chat-466f470ff155e97bc50e19c44581c279aa60ca1c.tar.bz2
chat-466f470ff155e97bc50e19c44581c279aa60ca1c.zip
Changed Markdown links to open in a new tab
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/markdown.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/markdown.jsx b/web/react/utils/markdown.jsx
index 347024e1a..c6ffb1871 100644
--- a/web/react/utils/markdown.jsx
+++ b/web/react/utils/markdown.jsx
@@ -31,7 +31,7 @@ export class MattermostMarkdownRenderer extends marked.Renderer {
if (title) {
output += ' title="' + title + '"';
}
- output += '>' + text + '</a>';
+ output += ' target="_blank">' + text + '</a>';
return output;
}