diff --git a/packages/scratch-gui/src/lib/blocks-screenshot.js b/packages/scratch-gui/src/lib/blocks-screenshot.js index 3779d2ecd7..0ec67e132f 100644 --- a/packages/scratch-gui/src/lib/blocks-screenshot.js +++ b/packages/scratch-gui/src/lib/blocks-screenshot.js @@ -171,10 +171,14 @@ const buildExportSVG = async function (workspace, bbox, scale, width, height, pa canvasClone.setAttribute('transform', canvasTransform); svg.appendChild(canvasClone); - // Clone bubble canvas (comment bubbles) with the same transform + // Clone bubble canvas (comment bubbles) with the same transform. + // Remove elements which contain HTML