diff --git a/tachys/src/view/iterators.rs b/tachys/src/view/iterators.rs index ef745412e4..32efde5252 100644 --- a/tachys/src/view/iterators.rs +++ b/tachys/src/view/iterators.rs @@ -436,7 +436,7 @@ where } fn html_len(&self) -> usize { - self.iter().map(RenderHtml::html_len).sum::() + 2 + self.iter().map(RenderHtml::html_len).sum::() } fn to_html_with_buf( @@ -449,7 +449,6 @@ where for child in self.into_iter() { child.to_html_with_buf(buf, position, escape, mark_branches); } - buf.push_str(""); } fn to_html_async_with_buf( @@ -469,7 +468,6 @@ where mark_branches, ); } - buf.push_sync(""); } fn hydrate(