diff --git a/packages/block-library/src/latest-posts/index.php b/packages/block-library/src/latest-posts/index.php index e8cd3c6fb6612..d90f692644bac 100644 --- a/packages/block-library/src/latest-posts/index.php +++ b/packages/block-library/src/latest-posts/index.php @@ -59,7 +59,7 @@ function render_block_core_latest_posts( $attributes ) { $trimmed_excerpt = esc_html( wp_trim_words( $post_excerpt, $excerpt_length, ' … ' ) ); $list_items_markup .= sprintf( - '
%1$s', + '
%1$s', $trimmed_excerpt );