diff --git a/html/js/main.js b/html/js/main.js
index c521770366..6212913f97 100644
--- a/html/js/main.js
+++ b/html/js/main.js
@@ -1667,7 +1667,7 @@ function initDetails() {
if (_.length > 40) {
_ = _.substring(0, 40) + "
" + _.substring(40);
}
- var msg = "
" + _ + "
"; + var msg = "" + escapeHtml(_) + "
"; ui.tooltip.find(".ui-tooltip-content").html(msg + "please wait..."); $.ajax("https://stat.ripe.net/data/whois/data.json?resource=" + ip, { dataType:"jsonp", ip: ip, msg: msg })