My SVG inlined in HTML shows as broken image. Fast research shows that if I change data:image/svg;base64, to data:image/svg+xml;base64, it works perfect. As workaround i changed file extention, but I think it should be fixed in getSrcBase64 function: $img.attr('src', data:image/${ext_format};base64,${result});
Please fix it.