Fix #6561: "frame" and "border" and "rules" listed twice as table attributes
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 10 Jul 2006 09:13:50 +0000 (09:13 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 10 Jul 2006 09:13:50 +0000 (09:13 +0000)
includes/Sanitizer.php

index f5a24df..234531e 100644 (file)
@@ -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' ) ),