mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 14:54:16 +00:00
Fix issues with attribute names in SSR (#418)
This commit is contained in:
parent
e2cdbc746f
commit
45eee12b18
1 changed files with 1 additions and 1 deletions
|
@ -427,10 +427,10 @@ fn attribute_to_tokens_ssr(
|
|||
|
||||
if name != "class" {
|
||||
template.push(' ');
|
||||
template.push_str(&name);
|
||||
|
||||
if let Some(value) = node.value.as_ref() {
|
||||
if let Some(value) = value_to_string(value) {
|
||||
template.push_str(&name);
|
||||
template.push_str("=\"");
|
||||
template.push_str(&value);
|
||||
template.push('"');
|
||||
|
|
Loading…
Reference in a new issue