render raw html

This commit is contained in:
Florian RICHER 2023-11-26 18:16:46 +01:00
parent ce305e1cbf
commit 7f4a65ca75

View file

@ -23,9 +23,7 @@ pub fn PostList(
.map(|post| view! {
<li>
{post.metadata.title.clone()}
<div>
{post.content.clone()}
</div>
<div inner_html=post.content.clone() />
</li>
})
.collect_view()