Skip to content

Commit

Permalink
fix spacing around excerpt dash, fixes #219
Browse files Browse the repository at this point in the history
  • Loading branch information
billerickson committed May 14, 2019
1 parent 11e16b0 commit 8f59bb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions display-posts-shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,9 @@ function be_display_posts_shortcode( $atts ) {
$excerpt = get_the_excerpt();
}

$excerpt = '<span class="excerpt">' . $excerpt . '</span>';
$excerpt = ' <span class="excerpt">' . $excerpt . '</span>';
if ( $include_excerpt_dash ) {
$excerpt = '<span class="excerpt-dash">-</span> ' . $excerpt;
$excerpt = ' <span class="excerpt-dash">-</span>' . $excerpt;
}
}

Expand Down

0 comments on commit 8f59bb9

Please sign in to comment.