# HG changeset patch # User cmlenz # Date 1150451748 0 # Node ID b3edbde541c49546d5c8574268406780a076f9ea # Parent c7d33e0c9839d231cabe0322332dfd5bba1e21a5 Port HTML sanitizer fix from trac:changeset:3417. diff --git a/markup/filters.py b/markup/filters.py --- 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',