Compare commits

...

2 Commits

  1. 2
      Cargo.lock
  2. 2
      Cargo.toml
  3. 2
      src/syndication.rs

2
Cargo.lock

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

2
Cargo.toml

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

2
src/syndication.rs

@ -95,7 +95,7 @@ pub fn channel_for_posts_page(
if item.cws.is_empty() {
body_text.push_str(&item.plain_body);
} 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 {
body_text.push_str(&format!(" {},", cw));
}

Loading…
Cancel
Save