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 Feb 17, 2020
1 parent 21041ee commit 411922b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/tools/sanitizer.js
Expand Up @@ -37,7 +37,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 411922b

Please sign in to comment.