HTML-escape channel names at the server.
This commit is contained in:
parent
c926db8360
commit
a6206e664d
1 changed files with 2 additions and 1 deletions
|
@ -1333,7 +1333,8 @@ void CServer::CreateAndSendChatTextForAllConChannels ( const int iCurChanID
|
|||
|
||||
const QString strActualMessageText =
|
||||
"<font color=""" + sCurColor + """>(" +
|
||||
QTime::currentTime().toString ( "hh:mm:ss AP" ) + ") <b>" + ChanName +
|
||||
QTime::currentTime().toString ( "hh:mm:ss AP" ) + ") <b>" +
|
||||
ChanName.toHtmlEscaped() +
|
||||
"</b></font> " + strChatText;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue