Skip to content
Browse files

Add support for <video preload=...>, <audio preload=...>

This commit adds "preload" to the set of acceptable attributes on video
and audio elements.
  • Loading branch information...
1 parent 635fd79 commit 6ac5a0188ed9c88fce6b1dd4df62ca95cd96a1d5 @wingo wingo committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/html5lib/sanitizer.py
View
2 src/html5lib/sanitizer.py
@@ -37,7 +37,7 @@ class HTMLSanitizerMixin(object):
'dir', 'disabled', 'enctype', 'for', 'frame', 'headers', 'height',
'href', 'hreflang', 'hspace', 'id', 'ismap', 'label', 'lang',
'longdesc', 'maxlength', 'media', 'method', 'multiple', 'name',
- 'nohref', 'noshade', 'nowrap', 'poster', 'prompt', 'readonly',
+ 'nohref', 'noshade', 'nowrap', 'poster', 'preload', 'prompt', 'readonly',
'rel', 'rev', 'rows', 'rowspan', 'rules', 'scope', 'selected',
'shape', 'size', 'span', 'src', 'start', 'style', 'summary',
'tabindex', 'target', 'title', 'type', 'usemap', 'valign',

0 comments on commit 6ac5a01

Please sign in to comment.
Something went wrong with that request. Please try again.