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
This is the XML string I have which consist of two HTML entities in the tspan tag
Everything functions perfectly when I use this string in react-svgr.com; the entities are immediately decoded.
However, the text is presented in the encoded version when I use this string as an xml prop in the SvgXml component.
The text was updated successfully, but these errors were encountered:
hellonobug9
changed the title
SvgXml component doesn't decode HTML entities in a XML string
HTML entities contained in an XML string are not decoded by the SvgXml component
Apr 11, 2024
This is the XML string I have which consist of two HTML entities in the tspan tag
Everything functions perfectly when I use this string in react-svgr.com; the entities are immediately decoded.
However, the text is presented in the encoded version when I use this string as an xml prop in the SvgXml component.
The text was updated successfully, but these errors were encountered: