-
-
Notifications
You must be signed in to change notification settings - Fork 681
Parsing error with SVG <use> with xlink:href attribute #52
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
Also, I'm trying to silence the rule for now, but doesn't seem like I can override it. Do I need to avoid extending Tried this in
|
TIL |
Sorry, did a deeper browser test. Safari (at least) still requires |
Alright @benjarwar , looks like it might be problem with
@mysticatea maybe you can say more about it, or rather if we can fix it in |
It happens too for attributes that are case-sensitive like |
@michalsnik @mysticatea ah, thanks for the insight. It looks like the The first half is stored as a
|
Fixed in |
Tell us about your environment
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
xlink:href
attributes shouldn't cause parsing errors. We are using an SVG sprite built with gulp-svg-sprite for our iconography; this attribute refers to the icon's ID.What actually happened? Please include the actual, raw output from ESLint.
Received the following
Parsing error
:The error disappears upon removal of the
xlink:href
attribute.The text was updated successfully, but these errors were encountered: