` +
- svgContent.replace("
";
- return this.createBlock(parent, "pass", html);
+ // create an image block and convert it to an html string
+ const imageBlockNode = this.createImageBlock(parent, { ...attrs, target});
+ imageBlockNode.setId(attrs.id);
+ const imageBlockContent = imageBlockNode.convert();
+ // replace the
![]()
tag with the svg content
+ const svg = svgContent.replace("