r6796 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r6795‎ | r6796 | r6797 >
Date:14:02, 23 December 2004
Author:vibber
Status:old
Tags:
Comment:
* Add the dreaded <span> to the HTML whitelist
Modified paths:
  • /branches/REL1_4/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_4/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: branches/REL1_4/phase3/includes/Parser.php
@@ -2193,14 +2193,14 @@
21942194 'h2', 'h3', 'h4', 'h5', 'h6', 'cite', 'code', 'em', 's',
21952195 'strike', 'strong', 'tt', 'var', 'div', 'center',
21962196 'blockquote', 'ol', 'ul', 'dl', 'table', 'caption', 'pre',
2197 - 'ruby', 'rt' , 'rb' , 'rp', 'p'
 2197+ 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span'
21982198 );
21992199 $htmlsingle = array(
22002200 'br', 'hr', 'li', 'dt', 'dd'
22012201 );
22022202 $htmlnest = array( # Tags that can be nested--??
22032203 'table', 'tr', 'td', 'th', 'div', 'blockquote', 'ol', 'ul',
2204 - 'dl', 'font', 'big', 'small', 'sub', 'sup'
 2204+ 'dl', 'font', 'big', 'small', 'sub', 'sup', 'span'
22052205 );
22062206 $tabletags = array( # Can only appear inside table
22072207 'td', 'th', 'tr'
Index: branches/REL1_4/phase3/RELEASE-NOTES
@@ -158,7 +158,9 @@
159159 * (bug 1162) fix five-tilde date inserter
160160 * Add raw signatures option for those who simply must have cute sigs
161161 * (bug 1164) Let wikitext be used in Loginprompt and Loginend messages
 162+* Add the dreaded <span> to the HTML whitelist
162163
 164+
163165 === Caveats ===
164166
165167 Some output, particularly involving user-supplied inline HTML, may not

Status & tagging log