From e963ceb74647ec4faeea0ea32736a2d315a79b8b Mon Sep 17 00:00:00 2001 From: Markin Igor <markin.io210@gmail.com> Date: Mon, 2 Dec 2019 17:05:06 +0200 Subject: [PATCH] Clean up debug logs --- javascript/src/helpers/mailparser.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/javascript/src/helpers/mailparser.js b/javascript/src/helpers/mailparser.js index cf9b9c8..2eb29c2 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); } } -- GitLab