Don't muddy <pre> pool

git-svn-id: https://develop.svn.wordpress.org/trunk@2056 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-01-06 10:10:55 +00:00
parent 5d67f3b75b
commit a80371dc20

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;
}