mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Use text() instead of html() when inserting headers in the DOM
This commit is contained in:
parent
3b6e9da91a
commit
042b7a203c
@ -120,7 +120,7 @@
|
|||||||
var text = xhr.status + ' ' + xhr.statusText + "\n\n";
|
var text = xhr.status + ' ' + xhr.statusText + "\n\n";
|
||||||
text += xhr.getAllResponseHeaders();
|
text += xhr.getAllResponseHeaders();
|
||||||
|
|
||||||
container.html(text);
|
container.text(text);
|
||||||
};
|
};
|
||||||
|
|
||||||
var displayResponse = function(xhr, method, url, result_container) {
|
var displayResponse = function(xhr, method, url, result_container) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user