summaryrefslogtreecommitdiffstats
path: root/webapp/utils/markdown.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/utils/markdown.jsx')
-rw-r--r--webapp/utils/markdown.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/utils/markdown.jsx b/webapp/utils/markdown.jsx
index f2b5bcc39..fe117274b 100644
--- a/webapp/utils/markdown.jsx
+++ b/webapp/utils/markdown.jsx
@@ -142,7 +142,7 @@ class MattermostMarkdownRenderer extends marked.Renderer {
if (outHref.startsWith(global.location.origin)) {
output += 'data-link="' + outHref.substring(global.location.origin.length) + '"';
} else {
- output += 'href="' + outHref + '"';
+ output += 'href="' + outHref + '" target="_blank"';
}
if (title) {