summaryrefslogtreecommitdiffstats
path: root/webapp/utils/markdown.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-03-20 16:58:09 -0400
committerJoram Wilander <jwawilander@gmail.com>2017-03-20 16:58:09 -0400
commit886621824332006c6a5e8f0ef14804ef669960ff (patch)
tree730e60e5752dafa633d1234b58d610b0db9eb0a4 /webapp/utils/markdown.jsx
parent7caab35cfab461a243eee0abe8d858f554ac0519 (diff)
downloadchat-886621824332006c6a5e8f0ef14804ef669960ff.tar.gz
chat-886621824332006c6a5e8f0ef14804ef669960ff.tar.bz2
chat-886621824332006c6a5e8f0ef14804ef669960ff.zip
Revert "PLT-3181 Added crossorigin='anonymous' to all external images (#5774)" (#5815)
This reverts commit 24848f9d6a92eb1e09189c358636fd1ba32fa6d6.
Diffstat (limited to 'webapp/utils/markdown.jsx')
-rw-r--r--webapp/utils/markdown.jsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/webapp/utils/markdown.jsx b/webapp/utils/markdown.jsx
index fa9c985c7..c84df0fa5 100644
--- a/webapp/utils/markdown.jsx
+++ b/webapp/utils/markdown.jsx
@@ -152,7 +152,6 @@ class MattermostMarkdownRenderer extends marked.Renderer {
out += ' height="' + dimensions[1] + '"';
}
out += ' onload="window.markdownImageLoaded(this)" onerror="window.markdownImageLoaded(this)" class="markdown-inline-img"';
- out += ' crossorigin="anonymous"';
out += this.options.xhtml ? '/>' : '>';
return out;
}