github microcosm-cc/bluemonday v1.0.22
Add `picture` to list of elements allowed without attributes

latest releases: v1.0.27, v1.0.26, v1.0.25...
21 months ago

This is not a security update!

This is a usability update as some HTML elements are valid without attributes however the default behaviour is to strip these out of an abundance of caution. The picture element https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture is one such element where it merely changes the browser rendering such that one of the child elements will be rendered.

The picture element was not present in the allowlist when it should have been, and so this release fixes that as per #161 .

Don't miss a new bluemonday release

NewReleases is sending notifications on new releases.