Remove \r\n linebreaks in roomlist subtitles

BUG: 462575
This commit is contained in:
Tobias Fella
2022-12-05 00:26:20 +01:00
committed by Carl Schwan
parent 9e01c96476
commit bfa08d178f

View File

@@ -329,7 +329,7 @@ QString NeoChatRoom::subtitleText()
{
static const QRegularExpression blockquote("(\r\n\t|\n|\r\t|)> ");
static const QRegularExpression heading("(\r\n\t|\n|\r\t|)\\#{1,6} ");
static const QRegularExpression newlines("(\r\n\t|\n|\r\t)");
static const QRegularExpression newlines("(\r\n\t|\n|\r\t|\r\n)");
static const QRegularExpression bold1("(\\*\\*|__)(?=\\S)([^\\r]*\\S)\\1");
static const QRegularExpression bold2("(\\*|_)(?=\\S)([^\\r]*\\S)\\1");
static const QRegularExpression strike1("~~(.*)~~");