Skip to content

Commit 9b9b5b4

Browse files
committed
updated distro to include swagger-api#493
1 parent 50ded29 commit 9b9b5b4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dist/swagger-ui.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// swagger-ui.js
2-
// version 2.0.18
32
$(function() {
43

54
// Helper function for vertically aligning DOM elements
@@ -1970,7 +1969,7 @@ helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
19701969
$(".request_url", $(this.el)).html("<pre>" + url + "</pre>");
19711970
$(".response_code", $(this.el)).html("<pre>" + response.status + "</pre>");
19721971
$(".response_body", $(this.el)).html(response_body);
1973-
$(".response_headers", $(this.el)).html("<pre>" + JSON.stringify(response.headers, null, " ").replace(/\n/g, "<br>") + "</pre>");
1972+
$(".response_headers", $(this.el)).html("<pre>" + _.escape(JSON.stringify(response.headers, null, " ")).replace(/\n/g, "<br>") + "</pre>");
19741973
$(".response", $(this.el)).slideDown();
19751974
$(".response_hider", $(this.el)).show();
19761975
$(".response_throbber", $(this.el)).hide();

0 commit comments

Comments
 (0)