Closed achambers closed 4 months ago
Hi. For reference, here is the same issue in the glimmer-vm repo: https://github.com/glimmerjs/glimmer-vm/issues/1550.
I was not sure where to post it, either:)
I think this can be closed, as https://github.com/emberjs/babel-plugin-ember-template-compilation/pull/33 fixes this issue. Make sure to update your lockfile to have babel-plugin-ember-template-compilation@2.2.2
!
I did however see some other regressions with that version, will report over there. Just mentioning, as this might block upgrading for now...
👋 Hi.
I think I've raised this in the correct repo. If not, let me know where is the appropriate place and I'll raise it there.
It seems that when I try and render an inline svg that includes a
<linearGradient>
, the app blows up with:I have made a minimal reproduction here: https://stackblitz.com/edit/ember-cli-editor-output-rvl1ph?file=app%2Ftemplates%2Fapplication.hbs
There are two components rendering svgs. One that works and one that does not.
This is the simple working svg that does not include a gradient
This is the same circle with a gradient.
The latter svg breaks with he error above.
I am using: