diff --git a/src/block/posts/index.php b/src/block/posts/index.php index e12838a17..976ee3f01 100644 --- a/src/block/posts/index.php +++ b/src/block/posts/index.php @@ -132,7 +132,7 @@ function generate_render_item_from_stackable_posts_block( $post, $attributes, $t // Read More Link. if ( strpos( $new_template, '!#readmoreText!#' ) !== false ) { - $new_template = str_replace( '!#readmoreText!#', esc_html( $readmore_text ), $new_template ); + $new_template = str_replace( '!#readmoreText!#', wp_kses_post( $readmore_text ), $new_template ); } return $new_template;