1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 14:30:46 +02:00

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

This commit is contained in:
XhmikosR
2020-01-07 22:46:28 +02:00
parent 21041eecb7
commit 411922b14d

View File

@@ -37,7 +37,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: [],