diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-11-06 12:39:49 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-11-06 12:39:49 -0500 |
commit | 8d7f1c1705cb904d1cf5ad99f8fdafd7530517f0 (patch) | |
tree | 42add1e8d18cffef0000318b430f6a6e7ec34864 /web/react/utils/markdown.jsx | |
parent | 190adae0c9e36912930663429d185b94cfbef1bd (diff) | |
parent | 5fd8b56836595d6fa1fe2cb0d0a9c9474fc4dfdd (diff) | |
download | chat-8d7f1c1705cb904d1cf5ad99f8fdafd7530517f0.tar.gz chat-8d7f1c1705cb904d1cf5ad99f8fdafd7530517f0.tar.bz2 chat-8d7f1c1705cb904d1cf5ad99f8fdafd7530517f0.zip |
Merge pull request #1340 from mattermost/markdown-image-fixes
Markdown image fixes.
Diffstat (limited to 'web/react/utils/markdown.jsx')
-rw-r--r-- | web/react/utils/markdown.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/markdown.jsx b/web/react/utils/markdown.jsx index 374caf6dc..ee63b8689 100644 --- a/web/react/utils/markdown.jsx +++ b/web/react/utils/markdown.jsx @@ -94,7 +94,7 @@ class MattermostMarkdownRenderer extends marked.Renderer { if (title) { out += ' title="' + title + '"'; } - out += ' onload="window.markdownImageLoaded(this)" class="markdown-inline-img"'; + out += ' onload="window.markdownImageLoaded(this)" onerror="window.markdownImageLoaded(this)" class="markdown-inline-img"'; out += this.options.xhtml ? '/>' : '>'; return out; } |