From: Brion Vibber Date: Thu, 12 May 2005 08:54:23 +0000 (+0000) Subject: * (bug 2152) Add missing bgcolor to attribute whitelist for and X-Git-Tag: 1.5.0alpha2~225 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=f222a9d8cea06335ff85150fd5a584598ebfdeff;p=lhc%2Fweb%2Fwiklou.git * (bug 2152) Add missing bgcolor to attribute whitelist for and --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 55a301f2a4..4853a3f1c4 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -181,6 +181,7 @@ Various bugfixes, small features, and a few experimental things: * dumpBackup.php can dump the full database to Export XML, with current revisions only or complete histories. * (bug 2150) Fix tab indexes on edit form +* (bug 2152) Add missing bgcolor to attribute whitelist for and === Caveats === diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index faac940f07..116a803611 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -683,8 +683,9 @@ class Sanitizer { 'rowspan', 'colspan', 'nowrap', # deprecated - 'width', # deprecated - 'height' # deprecated + 'width', # deprecated + 'height', # deprecated + 'bgcolor' # deprecated ); # Numbers refer to sections in HTML 4.01 standard describing the element.