You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I am writing some SVG directives that should insert svg templates. Since replace is marked as deprecated I try to use an attribute directive on a g element like here: http://stackoverflow.com/a/28281587/498298
It works in Chrome, but in IE11 the <g my-rect></g> is empty.
I'm not sure if I'm right, but I think the problem is in $compileNode.html(directiveValue); which sets innerHTML even for SVG templates. While supported in Chrome, IE seems not to support innerHTML for SVGElements.
I can fix the problem by using the same code as for replace:true case: hansmaad@2488eed