Modified:
trunk/feedparser/feedparser.py
trunk/feedparser/tests/illformed/sanitize/acceptable_attribute_autoplay.xml
trunk/feedparser/tests/wellformed/sanitize/acceptable_attribute_autoplay.xml
Log:
https://bugzilla.mozilla.org/show_bug.cgi?id=463955
Modified: trunk/feedparser/feedparser.py
==============================================================================
--- trunk/feedparser/feedparser.py (original)
+++ trunk/feedparser/feedparser.py Fri Feb 27 07:36:55 2009
@@ -2282,7 +2282,7 @@
'tr', 'tt', 'u', 'ul', 'var', 'video', 'noscript']
acceptable_attributes =
['abbr', 'accept', 'accept-charset', 'accesskey',
- 'action', 'align', 'alt', 'autoplay', 'autocomplete', 'autofocus', 'axis',
+ 'action', 'align', 'alt', 'autocomplete', 'autofocus', 'axis',
'background', 'balance', 'bgcolor', 'bgproperties', 'border',
'bordercolor', 'bordercolordark', 'bordercolorlight', 'bottompadding',
'cellpadding', 'cellspacing', 'ch', 'challenge', 'char', 'charoff',
Modified:
trunk/feedparser/tests/illformed/sanitize/acceptable_attribute_autoplay.xml
==============================================================================
---
trunk/feedparser/tests/illformed/sanitize/acceptable_attribute_autoplay.xml
(original)
+++
trunk/feedparser/tests/illformed/sanitize/acceptable_attribute_autoplay.xml
Fri Feb 27 07:36:55 2009
@@ -1,6 +1,6 @@
<!--
Description: content may contain autoplay attribute
-Expect: bozo and entries[0]['description'] == '<span
autoplay=""></span>'
+Expect: bozo and entries[0]['description'] == '<span></span>'
-->
<feed xmlns="http://www.w3.org/2005/Atom">
<entry>
Modified:
trunk/feedparser/tests/wellformed/sanitize/acceptable_attribute_autoplay.xml
==============================================================================
---
trunk/feedparser/tests/wellformed/sanitize/acceptable_attribute_autoplay.xml
(original)
+++
trunk/feedparser/tests/wellformed/sanitize/acceptable_attribute_autoplay.xml
Fri Feb 27 07:36:55 2009
@@ -1,6 +1,6 @@
<!--
Description: content may contain autoplay attribute
-Expect: not bozo and entries[0]['description'] == '<span
autoplay=""></span>'
+Expect: not bozo and entries[0]['description'] == '<span></span>'
-->
<feed xmlns="http://www.w3.org/2005/Atom">
<entry>