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;
|
space = i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
text.replace('&', "&");
|
||||||
|
text.replace('<', "<");
|
||||||
|
text.replace('>', ">");
|
||||||
|
text.replace('\"', """);
|
||||||
|
|
||||||
result.first = nick;
|
result.first = nick;
|
||||||
result.second = text;
|
result.second = text;
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue