Index: src/wp-includes/class-wp-block-parser.php
===================================================================
--- src/wp-includes/class-wp-block-parser.php	(revision 46560)
+++ src/wp-includes/class-wp-block-parser.php	(working copy)
@@ -445,14 +445,6 @@
 			? json_decode( $matches['attrs'][0], /* as-associative */ true )
 			: $this->empty_attrs;
 
-		/*
-		 * This state isn't allowed
-		 * This is an error
-		 */
-		if ( $is_closer && ( $is_void || $has_attrs ) ) {
-			// we can ignore them since they don't hurt anything.
-		}
-
 		if ( $is_void ) {
 			return array( 'void-block', $name, $attrs, $started_at, $length );
 		}
