Tag cleanup.

git-svn-id: http://svn.automattic.com/wordpress/trunk@767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-01-12 22:09:07 +00:00
parent 6f5b19cc85
commit 28298145c8
1 changed files with 16 additions and 17 deletions

View File

@ -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 =