matrixion/src/notifications/ManagerMac.cpp

12 lines
241 B
C++
Raw Normal View History

#include "Manager.h"
#include <QTextDocumentFragment>
#include "Utils.h"
QString
NotificationsManager::formatNotification(const QString &text)
{
2021-02-16 03:23:14 +03:00
return QTextDocumentFragment::fromHtml(utils::markdownToHtml(text)).toPlainText();
}