Skip to content

Commit 353ffb0

Browse files
committed
Change parser from text/xml to text/html for gallery
1 parent 565d7f1 commit 353ffb0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

js/gallery-block.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '977a57b83636f504e1ce2dbda26ef54c');
1+
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '9810fbbcfcc1692159bd922028b216cf');

js/gallery-block.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/gallery.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '3cc729d83394460e6acbe2458bbd5a8b');
1+
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '016b1065367c780bb1710e094ffcb228');

js/gallery.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/src/gallery-block/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if ( ! ( 'displayProps_columns' in blockAttributes ) ) {
2222
if ( cloudinaryPostContent ) {
2323
const htmlDoc = new DOMParser().parseFromString(
2424
cloudinaryPostContent,
25-
'text/xml'
25+
'text/html'
2626
);
2727

2828
const configEl = htmlDoc.querySelector(

0 commit comments

Comments
 (0)