Use text() instead of html() when inserting headers in the DOM

This commit is contained in:
Samuel Gordalina 2013-04-08 21:19:24 +01:00
parent 3b6e9da91a
commit 042b7a203c

View File

@ -120,7 +120,7 @@
var text = xhr.status + ' ' + xhr.statusText + "\n\n";
text += xhr.getAllResponseHeaders();
container.html(text);
container.text(text);
};
var displayResponse = function(xhr, method, url, result_container) {