mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-13 03:25:45 +00:00
HTML Notification Color fixes - Reverting colors and using older style (#3545)
This commit is contained in:
@@ -306,8 +306,8 @@ def process_notification(n_object: NotificationContextData, datastore):
|
||||
if 'html' in requested_output_format:
|
||||
n_body = n_body.replace(CUSTOM_LINEBREAK_PLACEHOLDER, '<br>\n')
|
||||
else:
|
||||
# Just incase
|
||||
n_body = n_body.replace(CUSTOM_LINEBREAK_PLACEHOLDER, '')
|
||||
# Markup, text types etc
|
||||
n_body = n_body.replace(CUSTOM_LINEBREAK_PLACEHOLDER, '\r\n')
|
||||
|
||||
sent_objs.append({'title': n_title,
|
||||
'body': n_body,
|
||||
|
||||
Reference in New Issue
Block a user