From f222a9d8cea06335ff85150fd5a584598ebfdeff Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 12 May 2005 08:54:23 +0000 Subject: [PATCH] * (bug 2152) Add missing bgcolor to attribute whitelist for and --- RELEASE-NOTES | 1 + includes/Sanitizer.php | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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. -- 2.20.1