diff --git a/src/notifications/ManagerMac.cpp b/src/notifications/ManagerMac.cpp index 41aea0d1..04044d86 100644 --- a/src/notifications/ManagerMac.cpp +++ b/src/notifications/ManagerMac.cpp @@ -7,5 +7,5 @@ QString NotificationsManager::formatNotification(const QString &text) { - return utils::markdownToHtml(text); + return QTextDocumentFragment::fromHtml(utils::markdownToHtml(text)).toPlainText(); }