From ea5c07b1fcba2769e1265adda9fb862a135b1970 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 22 May 2026 09:50:36 +0200 Subject: [PATCH] Notifications - `raw_diff` token was missing (#4177) --- changedetectionio/notification_service.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changedetectionio/notification_service.py b/changedetectionio/notification_service.py index 364732db..0813d6c8 100644 --- a/changedetectionio/notification_service.py +++ b/changedetectionio/notification_service.py @@ -204,6 +204,8 @@ class NotificationContextData(dict): 'diff_changed_from': FormattableExtract('', '', extract_fn=lambda x: x), 'diff_changed_to': FormattableExtract('', '', extract_fn=lambda x: x), 'diff_url': None, + # Always the raw +/- diff regardless of LLM summary override (populated in handler.py from {{diff}}) + 'raw_diff': FormattableDiff('', ''), 'markup_text_links_to_html_links': False, # If automatic conversion of plaintext to HTML should happen 'notification_timestamp': time.time(), 'prev_snapshot': None,