Helper function to sanitize SVG content by removing potentially dangerous elements. Call this on the container element after rendering if you need additional security.
The DOM element containing rendered SVG
Helper function to sanitize SVG content by removing potentially dangerous elements. Call this on the container element after rendering if you need additional security.