Handle quotes in plain strings

Unescape quotes in plain strings
This commit is contained in:
James Graham
2023-03-19 19:58:56 +00:00
parent ee254a286d
commit 925e20ebb8
2 changed files with 9 additions and 0 deletions

View File

@@ -371,6 +371,7 @@ QString TextHandler::unescapeHtml(QString stringIn)
stringIn.replace(QStringLiteral("&lt;"), QStringLiteral("<"));
stringIn.replace(QStringLiteral("&gt;"), QStringLiteral(">"));
stringIn.replace(QStringLiteral("&amp;"), QStringLiteral("&"));
stringIn.replace(QStringLiteral("&quot;"), QStringLiteral("\""));
return stringIn;
}