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;
}
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');