Compare commits
2 Commits
530ffe6b03
...
7fce1dab55
Author | SHA1 | Date |
---|---|---|
Leonora Tindall | 7fce1dab55 | |
Leonora Tindall | 05717b06a7 |
|
@ -293,7 +293,7 @@ checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "corobel"
|
name = "corobel"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"atom_syndication",
|
"atom_syndication",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "corobel"
|
name = "corobel"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
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
|
||||||
|
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue