Skip to content

Commit

Permalink
fix imported strikethrough text, closes #2110
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Aug 21, 2021
1 parent c3ed673 commit dc4c922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/html_sanitizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function sanitize(dirtyHtml) {
return sanitizeHtml(dirtyHtml, {
allowedTags: [
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol',
'li', 'b', 'i', 'strong', 'em', 'strike', 'abbr', 'code', 'hr', 'br', 'div',
'li', 'b', 'i', 'strong', 'em', 'strike', 's', 'del', 'abbr', 'code', 'hr', 'br', 'div',
'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre', 'section', 'img',
'figure', 'figcaption', 'span', 'label', 'input'
],
Expand Down

0 comments on commit dc4c922

Please sign in to comment.