From 9ddad5366b1004f2a4bfa1904baf1efc14f89740 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 11 Feb 2021 10:58:51 +0000 Subject: [PATCH] Remove invalid characters from outgoing content warnings --- posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts.py b/posts.py index d9695ada9..c8ccf1025 100644 --- a/posts.py +++ b/posts.py @@ -927,7 +927,7 @@ def _createPostBase(baseDir: str, nickname: str, domain: str, port: int, sensitive = False summary = None if subject: - summary = validContentWarning(subject) + summary = removeInvalidCharacters(validContentWarning(subject)) sensitive = True toRecipients = []