File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -167,8 +167,8 @@ class HTMLConformanceChecker < HTML5::Filters::Base
167
167
# <embed> handled separately
168
168
'object' => %w[ data type usemap height width ] ,
169
169
'param' => %w[ name value ] ,
170
- 'video' => %w[ src autoplay start loopstart loopend end loopcount controls poster ] ,
171
- 'audio' => %w[ src autoplay start loopstart loopend end loopcount controls ] ,
170
+ 'video' => %w[ src autoplay start loopstart loopend end loopcount controls poster preload ] ,
171
+ 'audio' => %w[ src autoplay start loopstart loopend end loopcount controls preload ] ,
172
172
'source' => %w[ src type media ] ,
173
173
'canvas' => %w[ height width ] ,
174
174
'map' => [ ] ,
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ module HTMLSanitizeModule
45
45
dir disabled enctype for frame headers height href hreflang hspace id
46
46
ismap label lang longdesc loop loopcount loopend loopstart
47
47
maxlength media method multiple name nohref
48
- noshade nowrap poster prompt readonly rel rev rows rowspan rules scope
49
- selected shape size span src start style summary tabindex target title
50
- type usemap valign value vspace width xml:lang ]
48
+ noshade nowrap poster preload prompt readonly rel rev rows rowspan rules
49
+ scope selected shape size span src start style summary tabindex target
50
+ title type usemap valign value vspace width xml:lang ]
51
51
52
52
MATHML_ATTRIBUTES = Set . new %w[ actiontype align close
53
53
columnalign columnlines columnspacing columnspan depth display
You can’t perform that action at this time.
0 commit comments