mirror of https://gitlab.com/bashrc2/epicyon
Replace mitm text in text mode browsers to prevent excessive verbosity
parent
8de356ff9a
commit
104c79951a
|
@ -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,
|
post_html = _prepare_media_post_from_html_cache(post_html,
|
||||||
translate,
|
translate,
|
||||||
'audio')
|
'audio')
|
||||||
|
# replace MITM text with an eye icon
|
||||||
|
post_html = post_html.replace(translate['mitm'], '👁')
|
||||||
|
|
||||||
# if on the bookmarks timeline then remain there
|
# if on the bookmarks timeline then remain there
|
||||||
if box_name in ('tlbookmarks', 'bookmarks'):
|
if box_name in ('tlbookmarks', 'bookmarks'):
|
||||||
|
|
Loading…
Reference in New Issue