You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added semantic title and desc tags to improve SVG accessibility for screen readers.
Escape XML characters in user title and labels
Thanks for pointing this out!
I’ve added XML escaping for user-controlled strings using an escapeXML() helper and updated the affected <title>, <desc>, and SVG text usages in both SVG generators to prevent malformed SVG/XML injection issues.
Implement escapeXML function for XML escaping
Add escapeXML function to sanitize XML strings
fix(svg): add accessible title/desc tags and escape XML
- Added semantic title and desc tags for accessibility
- Implemented escapeXML helper to sanitize user strings
- Escaped XML characters in user-controlled labels
0 commit comments