From 62bcb077d73730df3b0762186e4b57f65bb0654f Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Mon, 13 Jul 2026 19:52:04 +1000 Subject: [PATCH] BE: preheader + typo --- front/plugins/_publisher_mqtt/config.json | 2 +- front/report_templates/report_template.html | 2 +- server/models/notification_instance.py | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/front/plugins/_publisher_mqtt/config.json b/front/plugins/_publisher_mqtt/config.json index c7434eec..a73c4441 100755 --- a/front/plugins/_publisher_mqtt/config.json +++ b/front/plugins/_publisher_mqtt/config.json @@ -891,7 +891,7 @@ "description": [ { "language_code": "en_us", - "string": "A little hack - delay adding to the queue in case the process is restarted and previous publish processes aborted (it takes ~2s to update a sensor config on the broker). Tested with 2-3 seconds of delay. This delay is only applied when devices are created (during the first notification loop). It doesn not affect subsequent scans or notifications." + "string": "A little hack - delay adding to the queue in case the process is restarted and previous publish processes aborted (it takes ~2s to update a sensor config on the broker). Tested with 2-3 seconds of delay. This delay is only applied when devices are created (during the first notification loop). It does not affect subsequent scans or notifications." }, { "language_code": "es_es", diff --git a/front/report_templates/report_template.html b/front/report_templates/report_template.html index 39c6134a..ee4ae5e9 100755 --- a/front/report_templates/report_template.html +++ b/front/report_templates/report_template.html @@ -1,7 +1,7 @@ - PREHEADER + PREHEADER diff --git a/server/models/notification_instance.py b/server/models/notification_instance.py index 2e09c320..4423a506 100755 --- a/server/models/notification_instance.py +++ b/server/models/notification_instance.py @@ -149,7 +149,8 @@ class NotificationInstance: # Add preheader for inbox preview after all links have been generated. # Invisible padding prevents email clients from showing the start of the email body. preheader = " • ".join(preheaders) - padding = " " * 40 + "​" * 40 + + padding = (" ‌ " * 47) mail_html = mail_html.replace( "PREHEADER",