From 104c79951a8060f6b18935abb7d06dfb1032ab8b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 18 Dec 2024 11:58:05 +0000 Subject: [PATCH] Replace mitm text in text mode browsers to prevent excessive verbosity --- webapp_post.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp_post.py b/webapp_post.py index 3b1967892..6dfcd3488 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -405,6 +405,8 @@ def prepare_post_from_html_cache(nickname: str, post_html: str, box_name: str, post_html = _prepare_media_post_from_html_cache(post_html, translate, 'audio') + # replace MITM text with an eye icon + post_html = post_html.replace(translate['mitm'], '👁') # if on the bookmarks timeline then remain there if box_name in ('tlbookmarks', 'bookmarks'):