Skip to content

Commit

Permalink
Adding youtube video embeds back in.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelclay committed Jul 20, 2012
1 parent e82387f commit 8c1d899
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/feedparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -2601,7 +2601,8 @@ class _HTMLSanitizer(_BaseHTMLProcessor):
'p', 'pre', 'progress', 'q', 's', 'samp', 'section', 'select',
'small', 'sound', 'source', 'spacer', 'span', 'strike', 'strong',
'sub', 'sup', 'table', 'tbody', 'td', 'textarea', 'time', 'tfoot',
'th', 'thead', 'tr', 'tt', 'u', 'ul', 'var', 'video', 'noscript'])
'th', 'thead', 'tr', 'tt', 'u', 'ul', 'var', 'video', 'noscript',
'object', 'embed', 'iframe', 'param'])

acceptable_attributes = set(['abbr', 'accept', 'accept-charset', 'accesskey',
'action', 'align', 'alt', 'autocomplete', 'autofocus', 'axis',
Expand Down

0 comments on commit 8c1d899

Please sign in to comment.