From 8f59bb9cd59f83859f2839d62cef6375478308e5 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 13 May 2019 22:26:30 -0500 Subject: [PATCH] fix spacing around excerpt dash, fixes #219 --- display-posts-shortcode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/display-posts-shortcode.php b/display-posts-shortcode.php index 568f126..b103714 100644 --- a/display-posts-shortcode.php +++ b/display-posts-shortcode.php @@ -553,9 +553,9 @@ function be_display_posts_shortcode( $atts ) { $excerpt = get_the_excerpt(); } - $excerpt = '' . $excerpt . ''; + $excerpt = ' ' . $excerpt . ''; if ( $include_excerpt_dash ) { - $excerpt = '- ' . $excerpt; + $excerpt = ' -' . $excerpt; } }