mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fix: allow svg elements to use inner_html (#2764)
This commit is contained in:
parent
dcdad73476
commit
c70009243a
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ fn attribute_to_tokens(
|
|||
(name.contains('-') && !name.starts_with("aria-"))
|
||||
// TODO check: do we actually provide SVG attributes?
|
||||
// we don't provide statically-checked methods for SVG attributes
|
||||
|| tag_type == TagType::Svg
|
||||
|| (tag_type == TagType::Svg && name != "inner_html")
|
||||
{
|
||||
let value = attribute_value(node);
|
||||
quote! {
|
||||
|
|
Loading…
Reference in a new issue