From 8c1d899ac55a4b6045c4819f4ccc81520d848ec9 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Fri, 20 Jul 2012 11:18:15 -0700 Subject: [PATCH] Adding youtube video embeds back in. --- utils/feedparser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/feedparser.py b/utils/feedparser.py index 4654b5787..ad0955f2f 100755 --- a/utils/feedparser.py +++ b/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',