Fix build action

This commit is contained in:
Wahyu Kristianto
2022-10-30 18:18:28 +07:00
parent 7e39586252
commit fae6073256

View File

@ -126,7 +126,7 @@ async function processMDFile(filePath = '/', templateHTML = null) {
return outHtml; 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 = '/') { async function inlineLocalReferences(html, filePath = '/') {
const $ = cheerio.load(html); const $ = cheerio.load(html);
const as = $('a'); const as = $('a');