Index: wp-includes/formatting.php =================================================================== --- wp-includes/formatting.php (revision 17333) +++ wp-includes/formatting.php (working copy) @@ -188,6 +188,7 @@ $allblocks = '(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|option|form|map|area|blockquote|address|math|style|input|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)'; $pee = preg_replace('!(<' . $allblocks . '[^>]*>)!', "\n$1", $pee); $pee = preg_replace('!(' . $allblocks . '>)!', "$1\n\n", $pee); + $pee = str_replace('