support del tags for markdown
This commit is contained in:
parent
144feb6af9
commit
832da3aa8e
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ var highlight = require('highlight.js');
|
|||
var sanitizeHtmlParams = {
|
||||
allowedTags: [
|
||||
'font', // custom to matrix. deliberately no h1/h2 to stop people shouting.
|
||||
'del', // for markdown
|
||||
'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'
|
||||
|
|
Loading…
Reference in a new issue