Commit Graph
18 Commits
Author SHA1 Message Date
Anna Bodnia f87eaaa810 replaced satinize with sanitize-html 2016-09-01 16:09:44 +03:00
Anna Bodnia a1aea70f2c fixed tag xss issue 2016-08-23 18:26:50 +03:00
Anna Bodnia eaf59c1e8c fixed sanitize handlebars helper to accept not only strings 2016-08-18 17:42:10 +03:00
Anna Bodnia 11f1263a62 fix for xss issue 2016-08-17 20:55:23 +03:00
Tony Tam ef0c392c48 simplified logic 2016-08-10 14:11:21 +02:00
Mike Liu 4cb3a01943 if param.schema doesn't exist, then the line will fail
use single quotes
2016-07-28 13:47:25 -07:00
Anna Bodnia 14124c729b Upgraded highlight version to 9.1, removed highlight when sample is too long 2016-02-09 15:16:07 +02:00
Rodion 63951d0bf8 check 'defaultValue' before calling 'replace'
fix error "defaultValue.replace is not a function" when defaultValue is Integer
2015-12-17 20:14:09 +03:00
Tony Tam 8ee29c743a fix for #1453, escaped apostrophe 2015-12-09 12:45:43 -08:00
Brenton McSweyn 0665ee8557 Fixes an undefined error when type is defined in the schema 2015-11-20 08:47:27 +02:00
aurelian 554302f49d ignore case. 2015-06-22 16:26:32 +02:00
aurelian e475bb908e X-data-* vendor extension for parameter objects
Exposes X-data- as html data attributes for parameter objects

See comment in #991
2015-06-22 14:48:21 +02:00
Joe Wolf 488611a4ff 508 Fixes
Addresses #1021 mostly by adding label tags, generating unique element
ids as needed.

In the process, moved the label text that gets set in the
___ContentTypeView.js files to the respective handlebar templates; the
text was static as far as I could tell.

There are additional minor 508 improvements that can be made with the
tables (scope tags, header attributes)
2015-05-15 11:16:50 -04:00
Tony Tam 95bf95e91f fix for #1257 2015-05-10 17:59:25 -07:00
Tony Tam b1efe883db merged logic from #1177 2015-05-08 12:45:00 -07:00
Waldek Kozba ad56131a6d Corrected for Travis build. 2015-04-03 19:02:19 +00:00
Waldek Kozba af39ae0603 Multiple values for array type parameters as separated lines in the textarea.
Improved required parameter handling for the array type.
Improved default value handling for the array type.
2015-04-03 14:31:23 +00:00
Mohsen Azimi 215a8fa63e Move all files to javascript folder and remove coffeescript folder 2015-03-12 16:21:31 -07:00