Skip to content
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

Fails parsing newlines in path #119

Closed
alexeyten opened this issue Jun 18, 2013 · 2 comments
Closed

Fails parsing newlines in path #119

alexeyten opened this issue Jun 18, 2013 · 2 comments
Assignees
Labels

Comments

@alexeyten
Copy link
Contributor

New lines in path leads to NaN's or undefined in result.

$ svgo -v
0.3.6
$ cat a.svg 
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><path d="m0,0
0,10 10,0z" fill="red"/></svg>
$ svgo -i a.svg  -o -
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><path d="M0 0l10 10vundefinedz" fill="#f00"/></svg>
@ghost ghost assigned deepsweet Jun 18, 2013
@deepsweet
Copy link
Member

wow.

@deepsweet
Copy link
Member

stupid bug, got it.
will be in the next minor version, thanks for the issue reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants