If "excerpt" is supposed to strip all HTML, how come it's putting a carriage return where a paragraph is when you read the full article?
If "excerpt" is supposed to strip all HTML, how come it's putting a carriage return where a paragraph is when you read the full article?
I did this and it seems to have worked:
<?php $excerpt = strip_tags(get_the_excerpt());
echo $excerpt; ?>
So resolved, but isn't it supposed to do that automatically?
This topic has been closed to new replies.