mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
sanitizer.js: Add srcset in the allowed attributes (#29968)
This commit is contained in:
parent
21041eecb7
commit
411922b14d
@ -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: [],
|
||||
|
Loading…
Reference in New Issue
Block a user