File tree 3 files changed +2
-16
lines changed 3 files changed +2
-16
lines changed Original file line number Diff line number Diff line change 76
76
" itemscope" ,
77
77
" itemtype"
78
78
],
79
- "all " : [
79
+ "* " : [
80
80
" abbr" ,
81
81
" accept" ,
82
82
" accept-charset" ,
Original file line number Diff line number Diff line change @@ -18,20 +18,6 @@ var blockRenderers = [
18
18
'paragraph' ,
19
19
'table'
20
20
] ;
21
- var allWhitelistAttrs = htmlWhitelistPost . allowedAttributes . all ;
22
-
23
- // Whitelist a bunch of attributes for all tags
24
- // Doing this until we have an upstream fix
25
- htmlWhitelistPost . allowedTags . forEach ( function ( aTag ) {
26
- var otherAttrs = htmlWhitelistPost . allowedAttributes [ aTag ] ;
27
-
28
- htmlWhitelistPost . allowedAttributes [ aTag ] = allWhitelistAttrs ;
29
- if ( otherAttrs ) {
30
- htmlWhitelistPost . allowedAttributes [ aTag ] = htmlWhitelistPost
31
- . allowedAttributes [ aTag ] . concat ( otherAttrs ) ;
32
- }
33
- } ) ;
34
- delete htmlWhitelistPost . allowedAttributes . all ;
35
21
36
22
// Transform exact Github Flavored Markdown generated style tags to bootstrap custom classes
37
23
// to allow the sanitizer to whitelist on th and td tags for table alignment
Original file line number Diff line number Diff line change 52
52
"passport-yahoo" : " 0.3.0" ,
53
53
"pegjs" : " 0.9.0" ,
54
54
"request" : " 2.61.0" ,
55
- "sanitize-html" : " 1.9 .0" ,
55
+ "sanitize-html" : " 1.10 .0" ,
56
56
"select2" : " 3.5.2-browserify" ,
57
57
"select2-bootstrap-css" : " 1.4.6" ,
58
58
"serve-favicon" : " 2.3.0" ,
You can’t perform that action at this time.
0 commit comments