darylldoyle / svg-sanitizer

A PHP SVG/XML Sanitizer
GNU General Public License v2.0
456 stars 68 forks source link

Add filterUnits to allowed attributes #40

Closed joshuabaker closed 2 years ago

joshuabaker commented 4 years ago

We’ve run into an issue with SVGs exported from Figma that utilise the filterUnits attribute.

<filter ... filterUnits="userSpaceOnUse">

Are we able to include this in the attributes whitelist, or is there a reason for it’s exclusion?