From: Antoine Musso Date: Mon, 10 Jul 2006 09:13:50 +0000 (+0000) Subject: Fix #6561: "frame" and "border" and "rules" listed twice as table attributes X-Git-Tag: 1.31.0-rc.0~56329 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/Bar?a=commitdiff_plain;h=01ab84f67f183270e6d83ae203c5c2879145021c;p=lhc%2Fweb%2Fwiklou.git Fix #6561: "frame" and "border" and "rules" listed twice as table attributes --- diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index f5a24dfa33..234531e471 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -1082,9 +1082,9 @@ class Sanitizer { # 11.2.1 'table' => array_merge( $common, array( 'summary', 'width', 'border', 'frame', - 'rules', 'cellspacing', 'cellpadding', - 'align', 'bgcolor', 'frame', 'rules', - 'border' ) ), + 'rules', 'cellspacing', 'cellpadding', + 'align', 'bgcolor', 'rules', + ) ), # 11.2.2 'caption' => array_merge( $common, array( 'align' ) ),