From ad4f3c838c740161c814b33a2aaf095935cf314d Mon Sep 17 00:00:00 2001 From: Adrian Vollmer Date: Mon, 10 Oct 2022 14:48:11 +0200 Subject: [PATCH] Properly handle mime type in embed_img --- zundler/assets/inject.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zundler/assets/inject.js b/zundler/assets/inject.js index 2a4468e..62f72e1 100644 --- a/zundler/assets/inject.js +++ b/zundler/assets/inject.js @@ -110,11 +110,11 @@ var embed_img = function(img) { if (is_virtual(src)) { var path = normalize_path(src); const file = retrieve_file(path); - // TODO handle mime type - if (file.startsWith('