mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-03 05:02:52 +00:00
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:
parent
5d67f3b75b
commit
a80371dc20
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user