mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
This commit is contained in:
parent
6f9c40b0a8
commit
e0d15c1a09
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ fn element_to_tokens_ssr(
|
|||
template.push_str(" {}");
|
||||
holes.push(quote! {
|
||||
{#end}.into_iter().filter_map(|(name, attr)| {
|
||||
Some(format!("{}={}", name, ::leptos::leptos_dom::ssr::escape_attr(&attr.as_nameless_value_string()?)))
|
||||
Some(format!("{}=\"{}\"", name, ::leptos::leptos_dom::ssr::escape_attr(&attr.as_nameless_value_string()?)))
|
||||
}).collect::<Vec<_>>().join(" ")
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue