there now the output is prettier

This commit is contained in:
Erin 2024-04-15 03:30:50 -04:00
parent 14d2792bed
commit f181ecce95
Signed by: erin
SSH key fingerprint: SHA256:clvLPaxKthBet+VUQTKQdDkjaqg2/KnYHQaPASp5pFE

View file

@ -62,7 +62,7 @@ async fn html(
<div class="comment__author">{}</div> <div class="comment__author">{}</div>
<div class="comment__content">{}</div> <div class="comment__content">{}</div>
</div> </div>
"#, "#,
rec.id, rec.id,
html_escape::encode_text(&rec.name.unwrap_or("anonymous".to_owned())), html_escape::encode_text(&rec.name.unwrap_or("anonymous".to_owned())),
html_escape::encode_text(&rec.content), html_escape::encode_text(&rec.content),