@wordpress/block-library 7.14.14 → 7.14.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-library",
3
- "version": "7.14.14",
3
+ "version": "7.14.15",
4
4
  "description": "Block library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -73,5 +73,5 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "1b40138ee841cd75f8fcb97dba15d9f6883663aa"
76
+ "gitHead": "fd59073974a5b2da451fb98f30c511d9b4e7805e"
77
77
  }
@@ -141,7 +141,7 @@ function render_block_core_template_part( $attributes ) {
141
141
  global $wp_embed;
142
142
  $content = $wp_embed->autoembed( $content );
143
143
 
144
- if ( empty( $attributes['tagName'] ) ) {
144
+ if ( empty( $attributes['tagName'] ) || tag_escape( $attributes['tagName'] ) !== $attributes['tagName'] ) {
145
145
  $defined_areas = get_allowed_block_template_part_areas();
146
146
  $area_tag = 'div';
147
147
  foreach ( $defined_areas as $defined_area ) {