I hope I am not wasting you time. I am not a programmer so it’s possible I am talking rubbish. ??
I searched and searched a bit more and it sounds to me that the_content returns content with a line-brake in front of it unless a filter is used.
Filter you posted, works nice in front page but not in single post view.
This is how my content.php looks like (post page)
<?php if ( is_singular() ) { ?>
<header class="entry-header">
<?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
<?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'path' ) . '</div>' ); ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
....
And it return:
BlaaBlaa writes: (paragraph tag p line brake)
What ever he/she wrote blaa blaa blaa…
same time, on the front page, where only excerpt is returned, I get
BlaaBlaa writes: What ever he/she wrote blaa blaa blaa…
Do you see the difference.
One has a line brake after the “user name writes:”