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