Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Fixed support for symbols ID which are not numbers #98

Merged
merged 4 commits into from
Dec 28, 2018

Conversation

Xample
Copy link
Contributor

@Xample Xample commented Dec 21, 2018

Implemented the solution on: https://stackoverflow.com/a/20306218/532695

Prevent from crashing in the case we specified a wrong fragment for a symbol name.
For instance an svg has a symbol abcd, if I specified `someUrl/my.svg#defg` it will fail using the onSVGFail error emitter.
@arkon
Copy link
Owner

arkon commented Dec 28, 2018

I assume the PR title is actually negated, but thanks for the PR!

@arkon arkon merged commit d0843be into arkon:master Dec 28, 2018
@Xample
Copy link
Contributor Author

Xample commented Dec 28, 2018

@arkon you are right, I started forking the repository and changed the few lines in the code directly on master. Good practice would have been to download on my computer, create 2 separate branches and make a separate pull request for each of them.

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

Successfully merging this pull request may close these issues.

2 participants