Skip to content

Commit

Permalink
fix whitespace issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankaegy committed Nov 22, 2023
1 parent 1c598d8 commit 7bcfc62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ private static function get_inner_blocks_html( $attributes, $inner_blocks ) {

foreach ( $inner_blocks as $inner_block ) {
$inner_block_markup = static::get_markup_for_inner_block( $inner_block );
$p = new WP_HTML_Tag_Processor( $inner_block_markup );
$is_list_item = $p->next_tag( 'LI' );
$p = new WP_HTML_Tag_Processor( $inner_block_markup );
$is_list_item = $p->next_tag( 'LI' );

if ( $is_list_item && ! $is_list_open ) {
$is_list_open = true;
Expand Down

0 comments on commit 7bcfc62

Please sign in to comment.