QTfrontend/ui/widget/chatwidget.cpp
changeset 10252 814e137625f7
parent 10248 7b9b44a051f8
child 10534 a148229a0158
--- a/QTfrontend/ui/widget/chatwidget.cpp	Sun Jun 01 04:17:27 2014 +0200
+++ b/QTfrontend/ui/widget/chatwidget.cpp	Sun Jun 01 15:26:03 2014 +0200
@@ -593,9 +593,10 @@
 {
     addLine("msg_PlayerInfo", QString(" >>> %1 - <span class=\"ipaddress\">%2</span> <span class=\"version\">%3</span> <span class=\"location\">%4</span>")
         .arg(linkedNick(nick))
-        .arg(ip == "[]"?"":ip)
-        .arg(version)
-        .arg(roomInfo));
+        .arg(Qt::escape(ip == "[]"?"":ip))
+        .arg(Qt::escape(version))
+        .arg(Qt::escape(roomInfo))
+    );
 }
 
 void HWChatWidget::onKick()