// some unicode characters with a new line, which then triggers
// a stack overflow later
QString result(topic);
// some unicode characters with a new line, which then triggers
// a stack overflow later
QString result(topic);
result.replace(QChar::ParagraphSeparator, " ");
result.replace(QChar::LineSeparator, " ");
result.replace(QChar::ParagraphSeparator, " ");
result.replace(QChar::LineSeparator, " ");