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