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