We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 142f259 commit 8555609Copy full SHA for 8555609
src/components/design-library-list/use-preview-renderer.js
@@ -170,7 +170,7 @@ export const usePreviewRenderer = (
170
171
preview = replaceImages( preview )
172
173
- const cleanedBlock = cleanSerializedBlock( /<!--[\s\S]*?-->/g, '' ) // removes comment
+ const cleanedBlock = cleanSerializedBlock( preview ) // removes comment
174
175
setBlocks( {
176
parsed: parsedBlocks,
0 commit comments