diff --git a/b2-include/b2functions.php b/b2-include/b2functions.php index 2c4caec5d..2e73bb087 100644 --- a/b2-include/b2functions.php +++ b/b2-include/b2functions.php @@ -79,7 +79,7 @@ function wpautop($pee, $br=1) { $pee = preg_replace('!
\s*(?(?:table|tr|td|ul|ol|li|pre|select|form|blockquote|p|h[1-6])[^>]*>)!', "$1", $pee); $pee = preg_replace('!(?(?:table|tr|td|ul|ol|li|pre|select|form|blockquote|p|h[1-6])>)\s*
!', "$1", $pee); if ($br) $pee = preg_replace('|(?)\s*\n|', "