From e1728ee0bc054fac1783a0ff309ed561b64158d9 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 7 Apr 2026 21:06:18 +0200 Subject: [PATCH] fix: use double-quoted string for newline in todayLine Raw backtick strings treat \n as literal characters, not a newline. Switch the closing to a double-quoted string so the newline renders correctly in the email. --- pkg/models/notifications.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/notifications.go b/pkg/models/notifications.go index 90cb9288a..069c1515f 100644 --- a/pkg/models/notifications.go +++ b/pkg/models/notifications.go @@ -329,7 +329,7 @@ func (n *DailyTasksReminderNotification) ToMail(lang string) *notifications.Mail todayLine := "" for _, task := range sortedToday { - todayLine += `* [` + task.Title + `](` + config.ServicePublicURL.GetString() + "tasks/" + strconv.FormatInt(task.ID, 10) + `) (` + n.Projects[task.ProjectID].Title + `)\n` + todayLine += `* [` + task.Title + `](` + config.ServicePublicURL.GetString() + "tasks/" + strconv.FormatInt(task.ID, 10) + `) (` + n.Projects[task.ProjectID].Title + ")\n" } subject := i18n.T(lang, "notifications.task.overdue.multiple_subject")