Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update SVG sanitizer to conform to SVG 1.1 | Stan Hu | 2016-05-06 | 1 | -0/+50 |
Use a custom Loofah scrubber since sanitize 2.x transformers are inadequate to handle case-sensitive SVG attributes. sanitize parses documents as HTML instead of XML, which causes all SVG attribute names (e.g. viewBox) to be downcased. * SVG element list: https://www.w3.org/TR/SVG/eltindex.html * SVG attribute list: https://www.w3.org/TR/SVG/attindex.html Closes #14555 |