Don't add spurious {} to CW posts

This commit is contained in:
Leonora Tindall 2022-10-31 23:33:24 -05:00
parent 530ffe6b03
commit 05717b06a7
Signed by: nora
GPG Key ID: 7A8B52EC67E09AAF
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}