diff --git a/src/main/javascript/view/OperationView.js b/src/main/javascript/view/OperationView.js index 25a7ec99..3c22ccea 100644 --- a/src/main/javascript/view/OperationView.js +++ b/src/main/javascript/view/OperationView.js @@ -645,7 +645,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({ //adds curl output var curlCommand = this.model.asCurl(this.map); curlCommand = curlCommand.replace('!', '!'); - $( '.curl', $(this.el)).html('
' + curlCommand + '
'); + $( 'div.curl', $(this.el)).html('
' + curlCommand + '
'); // only highlight the response if response is less than threshold, default state is highlight response var opts = this.options.swaggerOptions;