From 33de5777ee71264327cac081f2fbb3e10a85c774 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 1 Apr 2021 11:35:59 +0200 Subject: buffers/thread: sanitize thread subject in info --- alot/buffers/thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alot/buffers/thread.py b/alot/buffers/thread.py index d342db86..1bfa6326 100644 --- a/alot/buffers/thread.py +++ b/alot/buffers/thread.py @@ -99,7 +99,7 @@ class ThreadBuffer(Buffer): async def get_info(self): info = {} - info['subject'] = self.thread.subject + info['subject'] = self.thread.subject.translate(settings.sanitize_header_table) info['authors'] = self.thread.get_authors_string() info['tid'] = self.thread.id info['message_count'] = self.thread.total_messages -- cgit v1.2.3