Browse Source

Don't add spurious {} to CW posts

main
Leonora Tindall 1 year ago
parent
commit
05717b06a7
Signed by: nora GPG Key ID: 7A8B52EC67E09AAF
  1. 2
      src/syndication.rs

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