-
Notifications
You must be signed in to change notification settings - Fork 2.4k
SVG extraction failes on icons containing a comment at the top (f.e. bash-plain.svg) #444
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
Comments
Hmm that's strange. The Icomoon color removal only applies to the font. The original SVG is not affected in anyway. |
This was just a guess on my side, it is probably another reason.. |
@amacado I just checked and it looks like there was some extra svg elements in the original file I took, removing that seems to fix the issue |
@EnisMulic I was wondering about that too. It seems that the plain version somehow has more content than the original. Can you create a new PR that contain this fix please? |
The error is still there. I will investigate further. Think it's related to the way we extract the svg to show the code. |
Wow, that's an interesting bug. I have merge your fix into develop. Let's hope that this will be the last time we see this issue. |
EDIT: See #444 (comment) for explaination
There is a problem with displaying the
plain
version of the new bash icon. It shows up but not displaying the svg code below:It works fine for the original version and also for the font versions. I wonder if this might be a result of the updated build process (removing color function or so? It's just a guess).
Interesting fact: When you open the svg in the browser it will show repeated:

https://raw.githubusercontent.com/devicons/devicon/master/icons/bash/bash-plain.svg
The text was updated successfully, but these errors were encountered: