changeset 15:b3edbde541c4 trunk

Port HTML sanitizer fix from trac:changeset:3417.
author cmlenz
date Fri, 16 Jun 2006 09:55:48 +0000
parents c7d33e0c9839
children bcba0181049c
files markup/filters.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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',
Copyright (C) 2012-2017 Edgewall Software