fix of html tag breaking...

master
const an teen 2021-12-15 09:57:29 -05:00
parent 76e1d6a1de
commit 3645d94bd2
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ std::pair<QString, QString> HttpServer::splitUserNameAndMessage(const QString &r
}
}
if (nbTag and text[i] == ';') {
if (nbTag and text[i-1] == ';') {
nbTag = false;
}
if (text.indexOf(QRegularExpression("(\\&amp;|\\&lt;|\\&gt;|\\&quot;).*"), i) == i) {