From 81a64cc04fbac0872683efd3a72cf08145d19023 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 2 Aug 2009 22:15:28 +0000 Subject: [PATCH] Allow in wikitext See bug 671. Since we use for RecentChanges flags now (see r53975), this is necessary to provide a good wikitext legend for what the flags mean. --- RELEASE-NOTES | 1 + includes/Sanitizer.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7f2a67a0a9..dee4461896 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -179,6 +179,7 @@ this. Was used when mwEmbed was going to be an extension. to {{ns:...}} * (bug 16322) Allow maintenance scripts to accept DB user/pass over input or params * (bug 18566) Maintenance script to un/protect pages +* (bug 671) The HTML tag is now permitted. === Bug fixes in 1.16 === diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index 47259fb5b3..0cb5b0b8bc 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -357,7 +357,7 @@ class Sanitizer { 'h2', 'h3', 'h4', 'h5', 'h6', 'cite', 'code', 'em', 's', 'strike', 'strong', 'tt', 'var', 'div', 'center', 'blockquote', 'ol', 'ul', 'dl', 'table', 'caption', 'pre', - 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'u' + 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'u', 'abbr' ); $htmlsingle = array( 'br', 'hr', 'li', 'dt', 'dd' @@ -1200,7 +1200,7 @@ class Sanitizer { # samp # kbd 'var' => $common, - # abbr + 'abbr' => $common, # acronym # 9.2.2 -- 2.20.1