I am writing a web app that's supposed to open a svg from a zip using the zip.js library
<img src="" type="image/svg+xml" id="v">
Changing the image type in the html code doesn't seem to resolve the issue. When I open the blob link it has the svg code so that isn't the case either.
document.getElementById("v").src = blobURL;
This is the code snippet responsible for setting the image source to the url
Nevermind, I solved it I just made a XML request
var client = new XMLHttpRequest();
client.open('GET', blobURL);
client.onreadystatechange = function() {
document.getElementById("vector").innerHTML = client.responseText;
}
client.send();