From fae60732566ad22fd4e4e7a477cd6a1af3478d56 Mon Sep 17 00:00:00 2001 From: Wahyu Kristianto Date: Sun, 30 Oct 2022 18:18:28 +0700 Subject: [PATCH] Fix build action --- .operations/gen-html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.operations/gen-html.js b/.operations/gen-html.js index d9d99078..d577df16 100644 --- a/.operations/gen-html.js +++ b/.operations/gen-html.js @@ -126,7 +126,7 @@ async function processMDFile(filePath = '/', templateHTML = null) { return outHtml; } -const internalRefRegExp = /^((?!http)(?!data:)(?!#)(?!\/\/).)*$/; // Doesn't start with 'http', '//', or '#' +const internalRefRegExp = /^((?!http)(?!data:)(?!#)(?!\/\/).)*$/; // Doesn't start with 'http', 'data:', '#', or '//' async function inlineLocalReferences(html, filePath = '/') { const $ = cheerio.load(html); const as = $('a');