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

fix(Icon): parse icon from file, closes #2 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thecristen
Copy link
Contributor

Valid SVG icons could contain other markup beyond the bare <svg>, so explicitly parse that out using Floki.

Valid SVG icons could contain other markup beyond the bare `<svg>`, so explicitly parse that out.
@thecristen
Copy link
Contributor Author

@joshlarson I couldn't figure out a way to unit test this without adding and distributing additional icons to this repo. But I tried it and it worked the existing Dotcom icons. 🤔

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

Successfully merging this pull request may close these issues.

1 participant