Skip to content

Commit fd8864d

Browse files
committed
STOP PEOPLE SHOUTING
1 parent 841c790 commit fd8864d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/HtmlUtils.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var highlight = require('highlight.js');
2222

2323
var sanitizeHtmlParams = {
2424
allowedTags: [
25-
'h1', 'h2', 'font', // custom to matrix
25+
'font', // custom to matrix. deliberately no h1/h2 to stop people shouting.
2626
'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol',
2727
'nl', 'li', 'b', 'i', 'strong', 'em', 'strike', 'code', 'hr', 'br', 'div',
2828
'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre'

0 commit comments

Comments
 (0)