From 57d9d0ad1ee3e841640d74fcb122516bce8efd9a Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Wed, 25 Jan 2017 21:13:17 -0500 Subject: Disabled mangling of email addresses in markdown autolinks (#5192) --- webapp/utils/markdown.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'webapp/utils') 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); -- cgit v1.2.3-1-g7c22