diff --git a/packages/block-library/src/post-time-to-read/edit.js b/packages/block-library/src/post-time-to-read/edit.js index b9092c69952b7..1689a6da71a5a 100644 --- a/packages/block-library/src/post-time-to-read/edit.js +++ b/packages/block-library/src/post-time-to-read/edit.js @@ -93,7 +93,7 @@ function PostTimeToReadEdit( { attributes, setAttributes, context } ) { } } /> -

{ minutesToReadString }

+
{ minutesToReadString }
); } diff --git a/packages/block-library/src/post-time-to-read/index.php b/packages/block-library/src/post-time-to-read/index.php index 07761e5e75904..03a745d20e642 100644 --- a/packages/block-library/src/post-time-to-read/index.php +++ b/packages/block-library/src/post-time-to-read/index.php @@ -42,7 +42,7 @@ function render_block_core_post_time_to_read( $attributes, $content, $block ) { $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $align_class_name ) ); return sprintf( - '

%2$s

', + '
%2$s
', $wrapper_attributes, $minutes_to_read_string );