Merge pull request #1805 from swagger-api/issue-1453
fix for #1453, escaped apostrophe
This commit is contained in:
2
dist/css/print.css
vendored
2
dist/css/print.css
vendored
@@ -82,7 +82,7 @@
|
||||
.swagger-section pre .vhdl .attribute,
|
||||
.swagger-section pre .clojure .attribute,
|
||||
.swagger-section pre .coffeescript .property {
|
||||
color: #88F;
|
||||
color: #8888ff;
|
||||
}
|
||||
.swagger-section pre .keyword,
|
||||
.swagger-section pre .id,
|
||||
|
||||
2
dist/css/screen.css
vendored
2
dist/css/screen.css
vendored
@@ -82,7 +82,7 @@
|
||||
.swagger-section pre .vhdl .attribute,
|
||||
.swagger-section pre .clojure .attribute,
|
||||
.swagger-section pre .coffeescript .property {
|
||||
color: #88F;
|
||||
color: #8888ff;
|
||||
}
|
||||
.swagger-section pre .keyword,
|
||||
.swagger-section pre .id,
|
||||
|
||||
23690
dist/swagger-ui.js
vendored
23690
dist/swagger-ui.js
vendored
File diff suppressed because one or more lines are too long
13
dist/swagger-ui.min.js
vendored
13
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -82,7 +82,7 @@
|
||||
.swagger-section pre .vhdl .attribute,
|
||||
.swagger-section pre .clojure .attribute,
|
||||
.swagger-section pre .coffeescript .property {
|
||||
color: #88F;
|
||||
color: #8888ff;
|
||||
}
|
||||
.swagger-section pre .keyword,
|
||||
.swagger-section pre .id,
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
.swagger-section pre .vhdl .attribute,
|
||||
.swagger-section pre .clojure .attribute,
|
||||
.swagger-section pre .coffeescript .property {
|
||||
color: #88F;
|
||||
color: #8888ff;
|
||||
}
|
||||
.swagger-section pre .keyword,
|
||||
.swagger-section pre .id,
|
||||
|
||||
@@ -32,6 +32,8 @@ Handlebars.registerHelper('renderTextParam', function(param) {
|
||||
idAtt = ' id=\'' + param.valueId + '\'';
|
||||
}
|
||||
|
||||
defaultValue = defaultValue.replace(/'/g,''');
|
||||
|
||||
if(isArray) {
|
||||
result = '<textarea class=\'body-textarea' + (param.required ? ' required' : '') + '\' name=\'' + param.name + '\'' + idAtt + dataVendorExtensions;
|
||||
result += ' placeholder=\'Provide multiple values in new lines' + (param.required ? ' (at least one required).' : '.') + '\'>';
|
||||
|
||||
Reference in New Issue
Block a user