flavorjones / loofah

Ruby library for HTML/XML transformation and sanitization
MIT License
934 stars 137 forks source link

feat: allow a few more SVG elements and attributes #246

Closed flavorjones closed 1 year ago

flavorjones commented 1 year ago

While working on an unrelated issue, I realized there's a subset of SVG attributes and elements for which Loofah::HTML5::Scrub.scrub_attributes had code to handle, but which weren't in the list of allowed SVG elements or allowed SVG attributes due to historical omission dating back to the html5lib import done in 7dd145a.

flavorjones commented 1 year ago

This has been released in Release 2.20.0 / 2023-04-01 · flavorjones/loofah