diff --git a/server/src/nm.rs b/server/src/nm.rs index 5bc289a..737e6a0 100644 --- a/server/src/nm.rs +++ b/server/src/nm.rs @@ -223,7 +223,7 @@ pub async fn thread( } format!( - r#"
{}
"#, + r#"{}
"#, // Trim newlines to prevent excessive white space at the beginning/end of // presenation. Leave tabs and spaces incase plain text attempts to center a // header on the first line. @@ -578,7 +578,7 @@ fn flatten_body_parts(parts: &[Body]) -> Body { .map(|p| match p { Body::PlainText(PlainText { text, .. }) => { format!( - r#"{}
"#, + r#"{}
"#, // Trim newlines to prevent excessive white space at the beginning/end of // presenation. Leave tabs and spaces incase plain text attempts to center a // header on the first line. diff --git a/web/src/view/mod.rs b/web/src/view/mod.rs index 70deb36..2fdc4d1 100644 --- a/web/src/view/mod.rs +++ b/web/src/view/mod.rs @@ -377,7 +377,7 @@ fn raw_text_message(contents: &str) -> Node