-
-
Notifications
You must be signed in to change notification settings - Fork 969
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
[v4] Strange compilation error with SVG #2723
Comments
This is definitely a parser bug, In Riot.js@4.3.0 I have mitigated the issue but I am not done yet here. The output markup is still wrong |
@exside The issue was fixed in Riot.js@4.3.1 the problem was your invalid svg markup. The |
@GianlucaGuarini awesome! Damn, didn't think of that! Thanks for the explanation and the fix! |
Help us to manage our issues by answering the following:
I'm running into this very strange issue when compiling inline templates, the error basically says:
I narrowed it down to an svg that contains two circles:
the "fun" thing is, the error disappears if I remove one of these circles contained within the SVG, most sandbox online code-playgrounds do not even show the error (like codesandbox), but jsbin does: http://live.datatables.net/xawotale/3/ (although not the one above I get in the browser).
I have no clue why this would happen and specifically with
circles
(tried with two svgtext
elements instead and there was no issue...)Can you reproduce the issue?
http://live.datatables.net/xawotale/3/
On which browser/OS does the issue appear?
newest Chrome
Which version of Riot does it affect?
4.x.x
How would you tag this issue?
The text was updated successfully, but these errors were encountered: