fix hyperlink space

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-11-24 19:58:47 +05:30
parent 282149e2a2
commit b7c4353a06

View File

@@ -67,7 +67,7 @@ async fn post_file(mut upload: Form<Upload<'_>>) -> (Status, RData) {
return ( return (
Status::SeeOther, Status::SeeOther,
RData::Html(RawHtml(format!( RData::Html(RawHtml(format!(
"Here is your file: <a href={url}>{url}</a>", r#"Here is your file: <a href="{url}">{url}</a>"#,
url = file_url url = file_url
))), ))),
); );
@@ -127,8 +127,8 @@ fn index() -> RawHtml<String> {
</html> </html>
"#, "#,
user_url = env_user_url(), title = env_title(),
title = env_title() user_url = env_user_url()
)) ))
} }