From fd8864d528b7da817fbae73e68f5e423de325928 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 22 Nov 2015 22:35:34 +0000 Subject: [PATCH] STOP PEOPLE SHOUTING --- src/HtmlUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HtmlUtils.js b/src/HtmlUtils.js index 5bcc134026..824f59ab20 100644 --- a/src/HtmlUtils.js +++ b/src/HtmlUtils.js @@ -22,7 +22,7 @@ var highlight = require('highlight.js'); var sanitizeHtmlParams = { allowedTags: [ - 'h1', 'h2', 'font', // custom to matrix + 'font', // custom to matrix. deliberately no h1/h2 to stop people shouting. 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol', 'nl', 'li', 'b', 'i', 'strong', 'em', 'strike', 'code', 'hr', 'br', 'div', 'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre'