From 8017426ee55299b8bfc23a1e971c56a88a282fd3 Mon Sep 17 00:00:00 2001 From: "Stephen A. Bernhardt" Date: Tue, 16 Nov 2021 02:07:00 -0600 Subject: [PATCH] Page List block: fix space before `href` attribute (#36505) --- packages/block-library/src/page-list/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/page-list/index.php b/packages/block-library/src/page-list/index.php index 733d2e0e4354e..4f91363cabb1f 100644 --- a/packages/block-library/src/page-list/index.php +++ b/packages/block-library/src/page-list/index.php @@ -182,7 +182,7 @@ function block_core_page_list_render_nested_page_list( $open_submenus_on_click, ) . '' . ''; } else { - $markup .= '' . wp_kses( + $markup .= '' . wp_kses( $page['title'], wp_kses_allowed_html( 'post' ) ) . '';