mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-10-29 00:19:14 +08:00
Fix build action
This commit is contained in:
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user