Skip to content

Releases: darylldoyle/svg-sanitizer

0.22.0

12 Aug 10:18
0afa95e

Choose a tag to compare

Resolved an issue where attribute name case inconsistencies (e.g., xlink:Href instead of xlink:href) in XML processing could cause namespace lookups and sanitisation to fail. Attribute names in both namespaced and non-namespaced contexts are now normalised to their expected lowercase form before processing. This ensures consistent sanitisation of xlink:href and other targeted attributes regardless of their original case.

Full Changelog: 0.21.0...0.22.0

Props @ohader and @realazizk