Compare commits

..

No commits in common. "01fd48e9ca34ce8d1c655f1adf315273fda616f7" and "7fce1dab55401cdf7cbb9cfd30f48c0ada09f76c" have entirely different histories.

3 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "corobel"
version = "0.2.2"
version = "0.2.1"
edition = "2021"
# 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();
if item.share_tree.len() == 1 {
body_text.push_str("(in reply to another post)\n\n---\n\n")
body_text.push_str("(in reply to another post)\n---\n")
} else if item.share_tree.len() > 1 {
body_text.push_str(&format!(
"(in reply to {} other posts)\n\n---\n\n",
"(in reply to {} other posts)\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---\n\n")
body_text.push_str("\n---\n")
};
if !item.tags.is_empty() {