From 7f8c788aa70db98ac904f37fa4197fcabb802942 Mon Sep 17 00:00:00 2001 From: "J. Daniel Schmidt" Date: Tue, 10 Apr 2012 14:56:37 +0200 Subject: [PATCH] html escape the console log in refresh fixes bug 977944 (cherry picked from commit ab2e27522aaeb0268fcc121bd3eff5a4485f313c) Change-Id: Ic6135ebc58b6c45d6336f0833717086e43d7cccb --- horizon/static/horizon/js/horizon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horizon/static/horizon/js/horizon.js b/horizon/static/horizon/js/horizon.js index 8cf2be56c6f..c47364a34ac 100644 --- a/horizon/static/horizon/js/horizon.js +++ b/horizon/static/horizon/js/horizon.js @@ -284,7 +284,7 @@ var Horizon = function() { data: data, method: 'get', success: function(response_body) { - $('pre.logs').html(response_body); + $('pre.logs').text(response_body); }, error: function(response) { if(via_user_submit) {