@wordpress/block-library 8.28.11 → 8.28.12

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": "8.28.11",
3
+ "version": "8.28.12",
4
4
  "description": "Block library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -80,5 +80,5 @@
80
80
  "publishConfig": {
81
81
  "access": "public"
82
82
  },
83
- "gitHead": "88cd256155d396c639216515e05346c687a64112"
83
+ "gitHead": "ec93880d20ad4ded2e6e669078bc14bd367326be"
84
84
  }
@@ -157,7 +157,7 @@ function render_block_core_template_part( $attributes ) {
157
157
  global $wp_embed;
158
158
  $content = $wp_embed->autoembed( $content );
159
159
 
160
- if ( empty( $attributes['tagName'] ) ) {
160
+ if ( empty( $attributes['tagName'] ) || tag_escape( $attributes['tagName'] ) !== $attributes['tagName'] ) {
161
161
  $area_tag = 'div';
162
162
  if ( $area_definition && isset( $area_definition['area_tag'] ) ) {
163
163
  $area_tag = $area_definition['area_tag'];