Skip to content

Commit

Permalink
fix importing image captions, closes #2113
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Aug 20, 2021
1 parent 68d599e commit e050e38
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 @@ -8,7 +8,7 @@ function sanitize(dirtyHtml) {
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol',
'li', 'b', 'i', 'strong', 'em', 'strike', 'abbr', 'code', 'hr', 'br', 'div',
'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre', 'section', 'img',
'figure', 'span', 'label', 'input'
'figure', 'figcaption', 'span', 'label', 'input'
],
allowedAttributes: {
'a': [ 'href', 'class', 'data-note-path' ],
Expand Down

0 comments on commit e050e38

Please sign in to comment.