diff --git a/src/main.rs b/src/main.rs index ed67119..cc1d00c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -58,11 +58,11 @@ async fn html( .map(|rec| { format!( r#" -
-
{}
-
{}
-
- "#, +
+
{}
+
{}
+
+"#, rec.id, html_escape::encode_text(&rec.name.unwrap_or("anonymous".to_owned())), html_escape::encode_text(&rec.content),