mirror of https://notabug.org/acetone/ircabot.git
html spec symbols escaped
parent
2a9dfff3bd
commit
619c1e6024
|
@ -118,6 +118,12 @@ std::pair<QString, QString> HttpServer::splitUserNameAndMessage(const QString &r
|
|||
space = i;
|
||||
}
|
||||
}
|
||||
|
||||
text.replace('&', "&");
|
||||
text.replace('<', "<");
|
||||
text.replace('>', ">");
|
||||
text.replace('\"', """);
|
||||
|
||||
result.first = nick;
|
||||
result.second = text;
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue