mirror of
https://github.com/vacp2p/rfc.vac.dev.git
synced 2026-01-06 22:53:50 -05:00
fix: fix bug with updateMarkdownLinksToExcludeMD
This commit is contained in:
@@ -123,9 +123,6 @@ function updateMarkdownLinksToExcludeMD(content) {
|
||||
return match
|
||||
}
|
||||
|
||||
// replace ../../ with /
|
||||
p2 = p2.replace(/\.\.\/\.\.\//g, '/')
|
||||
|
||||
let url = p2.replace(/\.md$/, '') // Remove .md extension from URL
|
||||
let anchor = p3.replace(/^\//, '') // Remove preceding '/' from anchor if exists
|
||||
|
||||
|
||||
Reference in New Issue
Block a user