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
As of #1738 being merged, I can't use <use> inside <svg> in html! {} any more. (Maybe other SVG elements are affected too; I haven't tried.) For example, the following:
html!{
<aclass="btn btn-primary" href="https://example.org/"><svgclass="bi" fill="currentColor"><usehref="/bootstrap-icons.svg#wrench"/>
</svg><span>{"Go to example.org"}</span></a>
}
fails with this error:
error: expected a valid html element
--> src/pages/example.rs:140:19
|
140 | <use href="/bootstrap-icons.svg#wrench"/>
| ^
As of #1738 being merged, I can't use
<use>
inside<svg>
inhtml! {}
any more. (Maybe other SVG elements are affected too; I haven't tried.) For example, the following:fails with this error:
Originally posted by @jbg in #1738 (comment)
The text was updated successfully, but these errors were encountered: