From 7f31d7a7d12c19dad5dc47698f7fd2904e2e651e Mon Sep 17 00:00:00 2001 From: Simon Lecoq <22963968+lowlighter@users.noreply.github.com> Date: Sat, 1 Jan 2022 12:16:18 +0100 Subject: [PATCH] fix(app/action): base64-to-cache regex (#734) --- source/app/action/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app/action/index.mjs b/source/app/action/index.mjs index 1a9ac79f..0da5ef5a 100644 --- a/source/app/action/index.mjs +++ b/source/app/action/index.mjs @@ -365,7 +365,7 @@ async function wait(seconds) { //Cache if (/markdown/.test(convert)) { - const regex = /(?)/g + const regex = /(?)/ let matched = null while (matched = regex.exec(rendered)?.groups) { //eslint-disable-line no-cond-assign const {match, name, format, content} = matched