Replace <br/> and <br> in addition to <br /> in clean_pre(). fixes #20400

git-svn-id: https://develop.svn.wordpress.org/trunk@20409 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2012-04-09 20:05:47 +00:00
parent 7fdf2d7412
commit 5d73d82fc2
1 changed files with 1 additions and 1 deletions

View File

@ -3002,7 +3002,7 @@ function clean_pre($matches) {
else
$text = $matches;
$text = str_replace('<br />', '', $text);
$text = str_replace(array('<br />', '<br/>', '<br>'), array('', '', ''), $text);
$text = str_replace('<p>', "\n", $text);
$text = str_replace('</p>', '', $text);