Don't muddy <pre> pool

git-svn-id: http://svn.automattic.com/wordpress/trunk@2056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-01-06 10:10:55 +00:00
parent 224dc527f8
commit acd814c90f

View File

@ -52,6 +52,8 @@ function wptexturize($text) {
function clean_pre($text) {
$text = str_replace('<br />', '', $text);
$text = str_replace('<p>', "\n", $text);
$text = str_replace('</p>', '', $text);
return $text;
}