@wordpress/block-library 8.3.15 → 8.3.16

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.3.15",
3
+ "version": "8.3.16",
4
4
  "description": "Block library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -77,5 +77,5 @@
77
77
  "publishConfig": {
78
78
  "access": "public"
79
79
  },
80
- "gitHead": "c2924af5e08725583d3c128c6bc90be2c83d262f"
80
+ "gitHead": "99458acc7733f240d4bc279899c157a61164eadd"
81
81
  }
@@ -155,7 +155,7 @@ function render_block_core_template_part( $attributes ) {
155
155
  global $wp_embed;
156
156
  $content = $wp_embed->autoembed( $content );
157
157
 
158
- if ( empty( $attributes['tagName'] ) ) {
158
+ if ( empty( $attributes['tagName'] ) || tag_escape( $attributes['tagName'] ) !== $attributes['tagName'] ) {
159
159
  $area_tag = 'div';
160
160
  if ( $area_definition && isset( $area_definition['area_tag'] ) ) {
161
161
  $area_tag = $area_definition['area_tag'];