mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-14 00:27:12 +00:00
Fix broken attribute escaping
This commit is contained in:
parent
12cef2d94f
commit
3073368aee
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ fn attr_to_tokens(
|
||||||
(AttributeValue::Dynamic(value), Mode::Ssr) => {
|
(AttributeValue::Dynamic(value), Mode::Ssr) => {
|
||||||
expressions.push(quote_spanned! {
|
expressions.push(quote_spanned! {
|
||||||
span => leptos_buffer.push(' ');
|
span => leptos_buffer.push(' ');
|
||||||
leptos_buffer.push_str(&leptos_dom::escape_attr(&{#value}.into_attribute(#cx).as_value_string(#name)));
|
leptos_buffer.push_str(&{#value}.into_attribute(#cx).as_value_string(#name));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
(AttributeValue::Dynamic(value), _) => {
|
(AttributeValue::Dynamic(value), _) => {
|
||||||
|
|
Loading…
Reference in a new issue