summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-11-03 13:16:28 -0500
committerhmhealey <harrisonmhealey@gmail.com>2015-11-03 15:34:45 -0500
commit83fe1edc7e43b6f741fd62438ef111e291f23dd6 (patch)
tree22815620cc1f0851c97f5bd49051e7ce62a2d53b /web/react
parente52669c2da0bb78c225a5c87edebe472e4c7ac56 (diff)
downloadchat-83fe1edc7e43b6f741fd62438ef111e291f23dd6.tar.gz
chat-83fe1edc7e43b6f741fd62438ef111e291f23dd6.tar.bz2
chat-83fe1edc7e43b6f741fd62438ef111e291f23dd6.zip
Re-enabled Markdown tables
Diffstat (limited to 'web/react')
-rw-r--r--web/react/utils/markdown.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/utils/markdown.jsx b/web/react/utils/markdown.jsx
index 179416ea0..0dcf970ff 100644
--- a/web/react/utils/markdown.jsx
+++ b/web/react/utils/markdown.jsx
@@ -193,7 +193,8 @@ export function format(text, options) {
const markdownOptions = {
renderer: new MattermostMarkdownRenderer(null, options),
sanitize: true,
- gfm: true
+ gfm: true,
+ tables: true
};
const tokens = marked.lexer(text, markdownOptions);