Skip to content

Commit 8400422

Browse files
committed
Add "poster" as an acceptable attribute of <video>
This commit adds support for the "poster" attribute, marking its value as being a URI.
1 parent 951dc02 commit 8400422

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/html5lib/sanitizer.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ class HTMLSanitizerMixin(object):
3737
'dir', 'disabled', 'enctype', 'for', 'frame', 'headers', 'height',
3838
'href', 'hreflang', 'hspace', 'id', 'ismap', 'label', 'lang',
3939
'longdesc', 'maxlength', 'media', 'method', 'multiple', 'name',
40-
'nohref', 'noshade', 'nowrap', 'prompt', 'readonly', 'rel', 'rev',
41-
'rows', 'rowspan', 'rules', 'scope', 'selected', 'shape', 'size',
42-
'span', 'src', 'start', 'style', 'summary', 'tabindex', 'target',
43-
'title', 'type', 'usemap', 'valign', 'value', 'vspace', 'width',
44-
'xml:lang']
40+
'nohref', 'noshade', 'nowrap', 'poster', 'prompt', 'readonly',
41+
'rel', 'rev', 'rows', 'rowspan', 'rules', 'scope', 'selected',
42+
'shape', 'size', 'span', 'src', 'start', 'style', 'summary',
43+
'tabindex', 'target', 'title', 'type', 'usemap', 'valign',
44+
'value', 'vspace', 'width', 'xml:lang']
4545

4646
mathml_attributes = ['actiontype', 'align', 'columnalign', 'columnalign',
4747
'columnalign', 'columnlines', 'columnspacing', 'columnspan', 'depth',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy