diff --git a/javascript/src/helpers/mailparser.js b/javascript/src/helpers/mailparser.js index cf9b9c83639a26617516a7f5e01680f111313728..2eb29c24e1622d6d0fc78997454c15ff2050932a 100644 --- a/javascript/src/helpers/mailparser.js +++ b/javascript/src/helpers/mailparser.js @@ -304,7 +304,6 @@ export function getHTML(mime, parts) { if (contentDisposition.indexOf("attachment") >= 0 || contentDisposition.indexOf("inline") >= 0) { let contentId = getHeaderValue("content-id", parts[i]); - console.log("CID", contentId); if (contentId === null || contentId === undefined) { continue; } @@ -317,12 +316,9 @@ export function getHTML(mime, parts) { if (contentType === null || contentType === undefined) { continue; } - console.log("CID2", contentId); contentType = contentType[0].split(";")[0]; - console.log("ContentTYpe", contentType); const normalizedBody = getBody(mime, parts[i]).replace(newline, ""); const src = "data:" + contentType + ";base64, " + normalizedBody; - console.log("SRC", src); html = html.split(contentId).join(src); } }