Permalink
Browse files

Adding youtube video embeds back in.

  • Loading branch information...
1 parent e82387f commit 8c1d899ac55a4b6045c4819f4ccc81520d848ec9 @samuelclay committed Jul 20, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 utils/feedparser.py
View
3 utils/feedparser.py
@@ -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',

0 comments on commit 8c1d899

Please sign in to comment.