From a4e196ceb122d1aba844891a2a8d1be3df098b7c Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 13 Nov 2010 22:12:39 +0000 Subject: [PATCH] Remove duplicate occurrence of 'u' from $htmlpairsStatic in Sanitizer::removeHTMLtags(). Reported by Dan Bolser on IRC --- includes/Sanitizer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index 210aeb142e..9b88f33792 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -368,7 +368,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', 'abbr', 'dfn', + 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'abbr', 'dfn', 'kbd', 'samp' ); $htmlsingle = array( -- 2.20.1