Allow looped twitter video.

This commit is contained in:
Samuel Clay 2018-04-01 23:02:08 -07:00
parent 77ba037fa7
commit 99624c146e

View file

@ -2390,7 +2390,7 @@ class _HTMLSanitizer(_BaseHTMLProcessor):
'template', 'title', 'toppadding', 'type', 'unselectable', 'usemap',
'urn', 'valign', 'value', 'variable', 'volume', 'vspace', 'vrml',
'width', 'wrap', 'xml:lang',
'allowfullscreen', 'autoplay', 'muted', 'playsinline'])
'allowfullscreen', 'autoplay', 'muted', 'loop', 'playsinline'])
unacceptable_elements_with_end_tag = set(['script', 'applet', 'style'])