Compare commits

..

2 Commits

Author SHA1 Message Date
Leonora Tindall 01fd48e9ca
This is 0.2.2 2022-10-31 23:38:24 -05:00
Leonora Tindall 07b8dc30c7
Fix large CW indicators 2022-10-31 23:38:03 -05:00
3 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View File

@ -293,7 +293,7 @@ checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
[[package]] [[package]]
name = "corobel" name = "corobel"
version = "0.2.1" version = "0.2.2"
dependencies = [ dependencies = [
"atom_syndication", "atom_syndication",
"chrono", "chrono",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "corobel" name = "corobel"
version = "0.2.1" version = "0.2.2"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -84,10 +84,10 @@ pub fn channel_for_posts_page(
let mut body_text = String::new(); let mut body_text = String::new();
if item.share_tree.len() == 1 { 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 { } else if item.share_tree.len() > 1 {
body_text.push_str(&format!( 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() item.share_tree.len()
)); ));
} }
@ -100,7 +100,7 @@ pub fn channel_for_posts_page(
body_text.push_str(&format!(" {},", cw)); body_text.push_str(&format!(" {},", cw));
} }
body_text.pop(); // Remove trailing comma 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() { if !item.tags.is_empty() {