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
So when doing a client side render for SVG tags using $!{svgString} it does not parse it as an SVG but rather as a simple HTML. This causes some bad markup since the tags are not closed properly and others get wrapped
We have a workaround by not rendering in marko but we used innerHTML in component-browser instead.
Your Environment
https://github.com/eBay/ebayui-core/
This is for icons since we initially rendered them as components but now have to string interpolate because they won't get cleaned up properly.
The text was updated successfully, but these errors were encountered:
Marko Version: 4.23.4
Details
So when doing a client side render for SVG tags using
$!{svgString}
it does not parse it as an SVG but rather as a simple HTML. This causes some bad markup since the tags are not closed properly and others get wrappedGiven this Symbol/SVG
The actual output is:
Possible Fix
We have a workaround by not rendering in marko but we used
innerHTML
in component-browser instead.Your Environment
https://github.com/eBay/ebayui-core/
This is for icons since we initially rendered them as components but now have to string interpolate because they won't get cleaned up properly.
The text was updated successfully, but these errors were encountered: