Use jQuery for trimming
This commit is contained in:
@@ -549,7 +549,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
||||
url = response.request.url;
|
||||
}
|
||||
var headers = response.headers;
|
||||
content = content.trim();
|
||||
content = jQuery.trim(content);
|
||||
|
||||
// if server is nice, and sends content-type back, we can use it
|
||||
var contentType = null;
|
||||
|
||||
Reference in New Issue
Block a user