From b5630dc39b41565879e733ced32b387c70c4bf06 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 25 Oct 2025 16:51:55 +0200 Subject: [PATCH] Only for mailto --- changedetectionio/notification/handler.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/changedetectionio/notification/handler.py b/changedetectionio/notification/handler.py index 33827f456..e55a6bae6 100644 --- a/changedetectionio/notification/handler.py +++ b/changedetectionio/notification/handler.py @@ -315,14 +315,14 @@ def process_notification(n_object: NotificationContextData, datastore): 'url': url}) apobj.add(url) - # Enforce monospace output for PLAINTEXT Document going to a HTML style notification - watch_mime_type = n_object.get('watch_mime_type') - if watch_mime_type and 'text/' in watch_mime_type.lower() and not 'html' in watch_mime_type.lower(): - if 'html' in requested_output_format: - # Since they likely want HTML style notifications but of a Plain-text document, lets wrap the body - if not '