From 8e688abe3c9d3c91bec1012e8a8997ec2d8def42 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Fri, 9 Apr 2021 00:51:00 +0200 Subject: [PATCH] =?UTF-8?q?added=20=E2=98=92=20to=20Has=5F*=20to=20indicat?= =?UTF-8?q?e=20click=20would=20remove=20it...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/c.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/c.js b/app/c.js index 2f0a49c..15e718d 100644 --- a/app/c.js +++ b/app/c.js @@ -10,14 +10,14 @@ function captureFrontMatterAndMarkdown() { } } else if (k.endsWith('[]')) { formData.set(k, formData.getAll(k)) - var s = JSON.stringify(formData.getAll(k)[0].split(",")) + var s = JSON.stringify(formData.getAll(k)[0].split(" ☒").join("").split(",")) frontmatter += `${k.slice(0, -2)}: ${s}\n` } else if (k == "relpath") { filepath = `${location.pathname.split('/public')[0]}/content/${formData.get(k)}` gitpath = `${location.pathname.split('/public')[0]}` } else if (k == "relpermalink") { publishpath = `${location.pathname.split('/public')[0]}/public${formData.get(k)}index.html` - } else if (["protocol", "offline"].includes(k)) { + } else if (["protocol", "offline", "ignore"].includes(k)) { continue } else { var s = JSON.stringify(formData.get(k))