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
Adding svg.replace(/([{}])/ig, "{'$1'}") before the props injecting works for me but it's a blunt method that might not work in all cases. @jfgodoy@dephiros what do you think?
The text was updated successfully, but these errors were encountered:
Since change #89 I get the following error message for duotone FontAwesome icons (integration see here: #12 (comment)). Non-duotone icons work fine:
This, i.e. the content of the
<style>
tag, breaks it:secondary{opacity:.4}
as solid tries to interpret it.Apparently the right solution (facebook/react#1545) is to escape { as {'{'} (sveltejs/svelte#1318).
Adding svg.replace(/([{}])/ig, "{'$1'}") before the props injecting works for me but it's a blunt method that might not work in all cases. @jfgodoy @dephiros what do you think?
The text was updated successfully, but these errors were encountered: