Fix large CW indicators
This commit is contained in:
parent
7fce1dab55
commit
07b8dc30c7
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue