Compare commits

..

No commits in common. "7fce1dab55401cdf7cbb9cfd30f48c0ada09f76c" and "530ffe6b032e9e1731d8f8adb16cd6114f4697f1" have entirely different histories.

3 changed files with 3 additions and 3 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.0"
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.0"
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

@ -95,7 +95,7 @@ pub fn channel_for_posts_page(
if item.cws.is_empty() { if item.cws.is_empty() {
body_text.push_str(&item.plain_body); body_text.push_str(&item.plain_body);
} else { } else {
body_text.push_str("Sensitive post, body text omitted. Content warnings:"); body_text.push_str("Sensitive post, body text omitted. Content warnings:{}");
for cw in item.cws { for cw in item.cws {
body_text.push_str(&format!(" {},", cw)); body_text.push_str(&format!(" {},", cw));
} }