diff --git a/packages/block-library/src/archives/index.php b/packages/block-library/src/archives/index.php index d75859529ee084..3b7b2d1d39bb9d 100644 --- a/packages/block-library/src/archives/index.php +++ b/packages/block-library/src/archives/index.php @@ -58,7 +58,7 @@ function render_block_core_archives( $attributes ) { break; } - $label = esc_attr( $label ); + $label = esc_html( $label ); $block_content = '