Did you just use the WordPress get_the_content function and realize that all of the line breaks from the visual editor are not being returned as paragraph tags?
Solution: Apply the appropriate filters as outlined in the WordPress codex…
<?php
$content = get_the_content();
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
echo $content; ?>
thanks man!
it helped me a lot!
Thanks
that helped.
But how did that happen? I have other blog, with the same entries stored inside the database (I checked with phpmyadmin) but where the line breaks don’t disappear.