mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-18 15:54:26 +01:00
sanitizer.js: Add srcset in the allowed attributes (#29968)
This commit is contained in:
parent
44776c38fe
commit
5638499aba
@ -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: [],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user