diff --git a/src/notifybypopup.cpp b/src/notifybypopup.cpp --- a/src/notifybypopup.cpp +++ b/src/notifybypopup.cpp @@ -597,12 +597,8 @@ QString text = notification->text(); if (!popupServerCapabilities.contains(QLatin1String("body-markup"))) { - if (title.startsWith(QLatin1String(""))) { - title = q->stripRichText(title); - } - if (text.startsWith(QLatin1String(""))) { - text = q->stripRichText(text); - } + title = q->stripRichText(title); + text = q->stripRichText(text); } args.append(title); // summary