We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the <svg> tag in the image being loaded has a class, this will be overridden when the SVG is inlined:
<svg>
<svg class="someclass" xmlns="http://www.w3.org/2000/svg" width="53" height="27" viewBox="0 0 53 27"> <circle cx="26.5" cy="13.5" r="8" fill="#FFF" fill-rule="evenodd" /> </svg>
<svg class="someclass svg inlined-svg" xmlns="http://www.w3.org/2000/svg" width="53" height="27" viewBox="0 0 53 27"> <circle cx="26.5" cy="13.5" r="8" fill="#FFF" fill-rule="evenodd" /> </svg>
<svg class="svg inlined-svg" xmlns="http://www.w3.org/2000/svg" width="53" height="27" viewBox="0 0 53 27"> <circle cx="26.5" cy="13.5" r="8" fill="#FFF" fill-rule="evenodd" /> </svg>
I know as a workaround I can define the class in the <img> tag and it'll be retained, but this seems redundant/inconvenient.
<img>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If the
<svg>
tag in the image being loaded has a class, this will be overridden when the SVG is inlined:SVG file
Expected outcome
Actual outcome
I know as a workaround I can define the class in the
<img>
tag and it'll be retained, but this seems redundant/inconvenient.The text was updated successfully, but these errors were encountered: