Consider adding hook to sanitize SVG images shown via img tags
Follow-up from "Swaps sanitize-html for dompurify"
The following discussion from !31928 (merged) should be addressed:
-
@jbroullon started a discussion: (+2 comments) Should we add a hook to sanitize SVG images shown via img tags to avoid breaking things as per https://github.com/cure53/DOMPurify/tree/master/demos#hook-to-sanitize-svgs-shown-via-an-img-tag-link?
Edited by Mike Greiling