diff --git a/packages/block-library/src/gallery/save.js b/packages/block-library/src/gallery/save.js index 263055c0681e9..b0845abc18d82 100644 --- a/packages/block-library/src/gallery/save.js +++ b/packages/block-library/src/gallery/save.js @@ -2,6 +2,7 @@ * WordPress dependencies */ import { RichText } from '@wordpress/block-editor'; +import { __unstableStripHTML } from '@wordpress/dom'; /** * Internal dependencies @@ -43,7 +44,11 @@ export default function save( { attributes } ) { const img = (