From 05717b06a7fabe21a2570cf6ebe5fe94383c3988 Mon Sep 17 00:00:00 2001 From: Leonora Tindall Date: Mon, 31 Oct 2022 23:33:24 -0500 Subject: [PATCH] Don't add spurious {} to CW posts --- src/syndication.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syndication.rs b/src/syndication.rs index 8f7a047..9d52560 100644 --- a/src/syndication.rs +++ b/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)); }