Mercurial > genshi > genshi-test
diff markup/filters.py @ 15:f083101b8e8a
Port HTML sanitizer fix from trac:changeset:3417.
author | cmlenz |
---|---|
date | Fri, 16 Jun 2006 09:55:48 +0000 |
parents | 76b5d4b189e6 |
children | ad63ad459524 |
line wrap: on
line diff
--- a/markup/filters.py +++ b/markup/filters.py @@ -229,7 +229,7 @@ 'ul', 'var']) _SAFE_ATTRS = frozenset(['abbr', 'accept', 'accept-charset', 'accesskey', - 'action', 'align', 'alt', 'axis', 'border', 'cellpadding', + 'action', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellpadding', 'cellspacing', 'char', 'charoff', 'charset', 'checked', 'cite', 'class', 'clear', 'cols', 'colspan', 'color', 'compact', 'coords', 'datetime', 'dir', 'disabled', 'enctype', 'for', 'frame', 'headers', 'height',