Skip to content

Commit 81421fa

Browse files
authored
changeset crediting spokodev for sanitize-html srcset fix (#5625)
1 parent 7d740f6 commit 81421fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.changeset/sanitize-html-srcset-allowed-schemes-by-tag.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
"sanitize-html": patch
33
---
44

5-
`allowedSchemesByTag` is now applied to `srcset` and `imagesrcset` URLs. Previously the per-tag lookup used the attribute name instead of the tag name, so these attributes always fell back to the global `allowedSchemes` and ignored a tag-specific scheme allowlist.
5+
`allowedSchemesByTag` is now applied to `srcset` and `imagesrcset` URLs. Previously the per-tag lookup used the attribute name instead of the tag name, so these attributes always fell back to the global `allowedSchemes` and ignored a tag-specific scheme allowlist. Thanks to
6+
[spokodev](https://github.com/spokodev) for the fix.

0 commit comments

Comments
 (0)