poison: Remove a superfluous <p></p>

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
Gergely Nagy 2025-01-16 12:23:25 +01:00
parent f28642532d
commit 9658f95ac3
No known key found for this signature in database

View file

@ -125,7 +125,10 @@ fn poison(iocaine: &Iocaine, headers: axum::http::HeaderMap, path: &str) -> Html
""
};
Html(format!("<!doctype html><html><head><title>{}</title></head><body>{}<p>{}</p><ul>{}</ul></body></html>", path, backlink, markov, links))
Html(format!(
"<!doctype html><html><head><title>{}</title></head><body>{}{}<ul>{}</ul></body></html>",
path, backlink, markov, links
))
}
async fn poison_root(