We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88235e8 commit e9d6dc6Copy full SHA for e9d6dc6
src/platform/desktop_notifications/desktopnotify.cpp
@@ -47,7 +47,7 @@ DesktopNotify::DesktopNotify(Settings& settings_)
47
QString DesktopNotify::sanitize_text_for_notifications(const QString& input_text)
48
{
49
QString output_text = QString(input_text);
50
- output_text.replace(QRegularExpression("[^a-zA-Z0-9 _]"), "_"); // allow only a A-Z and 0-9 and "_" and " " chars
+ output_text.replace(QRegularExpression("[^a-zA-Z0-9 _:]"), "_"); // allow only a A-Z and 0-9 and "_" and " " and ":" chars
51
qDebug() << "sanitize_text_for_notifications: input:" << input_text << "output:" << output_text;
52
return output_text;
53
}
0 commit comments