diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-01-25 21:13:17 -0500 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2017-01-25 23:13:17 -0300 |
commit | 57d9d0ad1ee3e841640d74fcb122516bce8efd9a (patch) | |
tree | c5d47d254de7242bfbe570da05e192fe9f3861f6 /webapp/utils | |
parent | 78ca99969262343daa29952c45216e9e801a6045 (diff) | |
download | chat-57d9d0ad1ee3e841640d74fcb122516bce8efd9a.tar.gz chat-57d9d0ad1ee3e841640d74fcb122516bce8efd9a.tar.bz2 chat-57d9d0ad1ee3e841640d74fcb122516bce8efd9a.zip |
Disabled mangling of email addresses in markdown autolinks (#5192)
Diffstat (limited to 'webapp/utils')
-rw-r--r-- | webapp/utils/markdown.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/utils/markdown.jsx b/webapp/utils/markdown.jsx index 9d4fdcb2e..c84df0fa5 100644 --- a/webapp/utils/markdown.jsx +++ b/webapp/utils/markdown.jsx @@ -252,7 +252,8 @@ export function format(text, options = {}) { renderer: new MattermostMarkdownRenderer(null, options), sanitize: true, gfm: true, - tables: true + tables: true, + mangle: false }; return marked(text, markdownOptions); |