Merge branch 'master' of github.com:swagger-api/swagger-ui
This commit is contained in:
@@ -32,7 +32,9 @@ Handlebars.registerHelper('renderTextParam', function(param) {
|
||||
idAtt = ' id=\'' + param.valueId + '\'';
|
||||
}
|
||||
|
||||
defaultValue = defaultValue.replace(/'/g,''');
|
||||
if (typeof defaultValue === 'string' || defaultValue instanceof String) {
|
||||
defaultValue = defaultValue.replace(/'/g,''');
|
||||
}
|
||||
|
||||
if(isArray) {
|
||||
result = '<textarea class=\'body-textarea' + (param.required ? ' required' : '') + '\' name=\'' + param.name + '\'' + idAtt + dataVendorExtensions;
|
||||
|
||||
Reference in New Issue
Block a user