Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #820 from turt2live/travis/h1-h2-to-h3
Browse files Browse the repository at this point in the history
Transform h1 and h2 tags to h3 tags
  • Loading branch information
ara4n committed Apr 24, 2017
2 parents 1347d9f + 3bd77d5 commit c7e4b29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/HtmlUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ var sanitizeHtmlParams = {
allowedTags: [
'font', // custom to matrix for IRC-style font coloring
'del', // for markdown
// deliberately no h1/h2 to stop people shouting.
'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol',
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol',
'nl', 'li', 'b', 'i', 'u', 'strong', 'em', 'strike', 'code', 'hr', 'br', 'div',
'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre', 'span',
],
Expand Down

0 comments on commit c7e4b29

Please sign in to comment.