http://twitter.com/#!/msng/status/109108891966648321
これで解決
add_filter(
'the_content',
function($content){return preg_replace('/(]*>)[\s]*(
]*>)/i', "$1\n$2", $content);},
1);
php 5.2 なら、こう
add_filter(
'the_content',
create_function(
'$content',
'return preg_replace("/(]*>)[\s]*(
]*>)/i", "$1\n$2", $content);'
),
1);
コメントを残す