-
Notifications
You must be signed in to change notification settings - Fork 94
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
Tags not closed in generated SVG #18
Comments
Apparently you can use cheerio to output valid XML by calling .xml() instead of html(). |
FWeinb
added a commit
that referenced
this issue
May 20, 2014
Thanks for investigation. This error was caused by breaking changes in |
Thanks for fixing this! |
jefmatle2v
added a commit
to jefmatle2v/FWeinbu
that referenced
this issue
Nov 27, 2021
Always add `xmlns` namespace. Added `options.includedemo`. Fixed Issues [#20](FWeinb/grunt-svgstore#20), [#19](FWeinb/grunt-svgstore#19), [#18](FWeinb/grunt-svgstore#18)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I have only one <path> element as the only child of SVG root, the generated svg will have <path d="..." id="..."> but no closing tag or trailing slash. I guess this is due to how cheerio handles non-html tags(?)
The text was updated successfully, but these errors were encountered: