From 28298145c8f88111c8040bc753ee734b1b41ff74 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Mon, 12 Jan 2004 22:09:07 +0000 Subject: [PATCH] Tag cleanup. git-svn-id: http://svn.automattic.com/wordpress/trunk@767 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/kses.php | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/wp-includes/kses.php b/wp-includes/kses.php index db2df03ac1..ccb8872f6b 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -10,36 +10,35 @@ # # [kses strips evil scripts!] +// You could override this in your my-hacks.php file $allowedtags = array( 'a' => array( 'href' => array(), 'title' => array(), 'rel' => array()), - 'abbr' => array(), - 'acronym' => array(), 'abbr' => array('title' => array()), 'acronym' => array('title' => array()), 'b' => array(), - 'blockquote' => array('cite' => array()), - 'br' => array(), +// 'blockquote' => array('cite' => array()), +// 'br' => array(), 'code' => array(), - 'del' => array('datetime' => array()), - 'dd' => array(), - 'dl' => array(), - 'dt' => array(), +// 'del' => array('datetime' => array()), +// 'dd' => array(), +// 'dl' => array(), +// 'dt' => array(), 'em' => array(), 'i' => array(), - 'ins' => array('datetime' => array(), 'cite' => array()), - 'li' => array(), - 'ol' => array(), - 'p' => array(), - 'q' => array(), +// 'ins' => array('datetime' => array(), 'cite' => array()), +// 'li' => array(), +// 'ol' => array(), +// 'p' => array(), +// 'q' => array(), 'strike' => array(), 'strong' => array(), - 'sub' => array(), - 'sup' => array(), - 'u' => array(), - 'ul' => array(), +// 'sub' => array(), +// 'sup' => array(), +// 'u' => array(), +// 'ul' => array(), ); function wp_kses($string, $allowed_html, $allowed_protocols =