Commits

Rick Copeland committed 8d8bb67

Better list of empty HTML attrs

Comments (0)

Files changed (1)

-HTML_EMPTY_ATTRS=set([ 'disabled',  'readonly',  'checked', 'selected' ])
+HTML_EMPTY_ATTRS=set([
+        'checked',
+        'disabled',
+        'readonly',
+        'multiple',
+        'selected',
+        'nohref',
+        'ismap',
+        'declare',
+        'defer',
+        ])
 HTML_OPTIONAL_END_TAGS=set([
     'area',
     'base',