3 |
4 |
" + paragraph + "
"; 8 | paragraph = ""; 9 | } 10 | 11 | const addImage = img => { 12 | let imgSrc = img.getAttribute('src'); 13 | if (imgSrc.startsWith('/')) { 14 | imgSrc = `${document.location.origin}/${imgSrc}`; 15 | } 16 | content += `