@wordpress/block-library 8.19.17 → 8.19.18

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.19.17",
3
+ "version": "8.19.18",
4
4
  "description": "Block library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "cb068c6f1fb4ce20b860d59e999907c1e348fd15"
81
+ "gitHead": "8ed736c0ccea113792acfa02ee7ca8a4f6e97733"
82
82
  }
@@ -151,7 +151,7 @@ function render_block_core_template_part( $attributes ) {
151
151
  global $wp_embed;
152
152
  $content = $wp_embed->autoembed( $content );
153
153
 
154
- if ( empty( $attributes['tagName'] ) ) {
154
+ if ( empty( $attributes['tagName'] ) || tag_escape( $attributes['tagName'] ) !== $attributes['tagName'] ) {
155
155
  $area_tag = 'div';
156
156
  if ( $area_definition && isset( $area_definition['area_tag'] ) ) {
157
157
  $area_tag = $area_definition['area_tag'];