mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-03-10 09:18:49 +01:00
poison: Remove a superfluous <p></p>
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
f28642532d
commit
9658f95ac3
1 changed files with 4 additions and 1 deletions
|
@ -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(
|
async fn poison_root(
|
||||||
|
|
Loading…
Reference in a new issue