sanitizer.js: Add srcset in the allowed attributes (#29968)

This commit is contained in:
XhmikosR 2020-01-07 22:46:28 +02:00 committed by GitHub
parent 44776c38fe
commit 5638499aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ export const DefaultWhitelist = {
h5: [], h5: [],
h6: [], h6: [],
i: [], i: [],
img: ['src', 'alt', 'title', 'width', 'height'], img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],
li: [], li: [],
ol: [], ol: [],
p: [], p: [],