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 23, 2020
1 parent 0d1aee6 commit ef366b9
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 ef366b9

Please sign in to comment.