-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Special characters generate weird CDATA tag? #58
Comments
Hi @OfficialCRUGG, thanks for open the Issue. You have to make use of Here is an example of function transformNode(node) {
return {
...node,
...(node.children ? { children: node.children.map(transformNode) } : {}),
value: entities.decodeHTML(node.value),
};
} and here is a working example. |
There doesn't seem to be any |
what |
Updated from 5.3.0 to 5.3.1 and that solved it. Thanks. |
Hey there!
I am currently trying to use svgson to do some bulk operations on some icons.
The source SVG includes
<title>Aeroméxico</title>
, but when running this through svgson, it returns<title><![CDATA[Aeroméxico]]></title>
which causes further issues due to not being a valid HTML tag.Is there any way to fix this?
The text was updated successfully, but these errors were encountered: