r15493 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r15492‎ | r15493 | r15494 >
Date:09:13, 10 July 2006
Author:hashar
Status:old
Tags:
Comment:
Fix #6561: "frame" and "border" and "rules" listed twice as table attributes
Modified paths:
  • /trunk/phase3/includes/Sanitizer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Sanitizer.php
@@ -1082,9 +1082,9 @@
10831083 # 11.2.1
10841084 'table' => array_merge( $common,
10851085 array( 'summary', 'width', 'border', 'frame',
1086 - 'rules', 'cellspacing', 'cellpadding',
1087 - 'align', 'bgcolor', 'frame', 'rules',
1088 - 'border' ) ),
 1086+ 'rules', 'cellspacing', 'cellpadding',
 1087+ 'align', 'bgcolor', 'rules',
 1088+ ) ),
10891089
10901090 # 11.2.2
10911091 'caption' => array_merge( $common, array( 'align' ) ),