diff --git a/b2-include/b2functions.php b/b2-include/b2functions.php index 2c4caec5df..2e73bb0877 100644 --- a/b2-include/b2functions.php +++ b/b2-include/b2functions.php @@ -79,7 +79,7 @@ function wpautop($pee, $br=1) { $pee = preg_replace('!

\s*(]*>)!', "$1", $pee); $pee = preg_replace('!()\s*

!', "$1", $pee); if ($br) $pee = preg_replace('|(?)\s*\n|', "
\n", $pee); // optionally make line breaks - $pee = preg_replace('!(]*>)\s*
!', "$1", $pee); + $pee = preg_replace('!(]*>)\s*
!', "$1", $pee); $pee = preg_replace('!
(\s*)!', '$1', $pee); $pee = preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $pee);