[pim/kdepim-runtime] agents/newmailnotifier: We don't want toHtmlEscaped() for texttospeech
Laurent Montel <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit b423f2303b025eb597320fd6c46f5e9485fa9614 by Laurent Montel.
Committed on 16/08/2026 at 10:40.
Pushed by mlaurent into branch 'master'.
We don't want toHtmlEscaped() for texttospeech
M +2 -2 agents/newmailnotifier/specialnotifierjob.cpp
https://invent.kde.org/pim/kdepim-runtime/-/commit/b423f2303b025eb597320fd6c46f5e9485fa9614
diff --git a/agents/newmailnotifier/specialnotifierjob.cpp b/agents/newmailnotifier/specialnotifierjob.cpp
index 9ff121b0b..14ee1884c 100644
--- a/agents/newmailnotifier/specialnotifierjob.cpp
+++ b/agents/newmailnotifier/specialnotifierjob.cpp
@@ -129,8 +129,8 @@ void SpecialNotifierJob::emitNotification(const QPixmap &pixmap)
if (NewMailNotifierAgentSettings::textToSpeakEnabled()) {
if (!NewMailNotifierAgentSettings::textToSpeak().isEmpty()) {
QString message = NewMailNotifierAgentSettings::textToSpeak();
- message.replace("%s"_L1, mSubject.toHtmlEscaped());
- message.replace("%f"_L1, mFrom.toHtmlEscaped());
+ message.replace("%s"_L1, mSubject);
+ message.replace("%f"_L1, mFrom);
Q_EMIT say(message);
}
}