summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-09-23 15:21:46 -0700
committerCorey Hulen <corey@hulen.com>2015-09-23 15:21:46 -0700
commit23029204dc14277fe173d484a735139cbb475dd2 (patch)
treeda209b3736024edbda796e02889497cab7f7dc81
parentc7c644874e98db0ae83c5a44ec50ff811d9b3f46 (diff)
parent466f470ff155e97bc50e19c44581c279aa60ca1c (diff)
downloadchat-23029204dc14277fe173d484a735139cbb475dd2.tar.gz
chat-23029204dc14277fe173d484a735139cbb475dd2.tar.bz2
chat-23029204dc14277fe173d484a735139cbb475dd2.zip
Merge pull request #770 from hmhealey/plt339
PLT-339 Changed Markdown links to open in a new tab
-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;
}