fix parsing of huge unicode characters

This commit is contained in:
Martin Rotter 2024-04-03 14:08:08 +02:00
parent cf76d920df
commit e69b314201
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ QString WebFactory::unescapeHtml(const QString& html) {
}
if (number > 0U) {
output.append(QChar(number));
output.append(QString::fromUcs4((const char32_t*)&number, 1));
}
else {
// Failed to convert to number, leave intact.