import { getImageInfo } from './getImageInfo.ts' export function createImgTagHtml(imgInfo: ReturnType): string { const { attrs, targetUrl } = imgInfo const imgTag = `` if (imgInfo.targetUrl) { return `${imgTag}` } else { return imgTag } }