Fix large CW indicators

This commit is contained in:
Leonora Tindall 2022-10-31 23:38:03 -05:00
parent 7fce1dab55
commit 07b8dc30c7
Signed by: nora
GPG Key ID: 7A8B52EC67E09AAF
1 changed files with 3 additions and 3 deletions

View File

@ -84,10 +84,10 @@ pub fn channel_for_posts_page(
let mut body_text = String::new();
if item.share_tree.len() == 1 {
body_text.push_str("(in reply to another post)\n---\n")
body_text.push_str("(in reply to another post)\n\n---\n\n")
} else if item.share_tree.len() > 1 {
body_text.push_str(&format!(
"(in reply to {} other posts)\n---\n",
"(in reply to {} other posts)\n\n---\n\n",
item.share_tree.len()
));
}
@ -100,7 +100,7 @@ pub fn channel_for_posts_page(
body_text.push_str(&format!(" {},", cw));
}
body_text.pop(); // Remove trailing comma
body_text.push_str("\n---\n")
body_text.push_str("\n\n---\n\n")
};
if !item.tags.is_empty() {