Skip to content

Commit

Permalink
sanitizer.js: Add srcset in the allowed attributes (#29968)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jan 7, 2020
1 parent 44776c3 commit 5638499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/util/sanitizer.js
Expand Up @@ -76,7 +76,7 @@ export const DefaultWhitelist = {
h5: [],
h6: [],
i: [],
img: ['src', 'alt', 'title', 'width', 'height'],
img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],
li: [],
ol: [],
p: [],
Expand Down

0 comments on commit 5638499

Please sign in to comment.