diff --git a/plugs/index/refactor.ts b/plugs/index/refactor.ts index 4bc8411d..6147301e 100644 --- a/plugs/index/refactor.ts +++ b/plugs/index/refactor.ts @@ -220,7 +220,7 @@ async function renamePage(oldName: string, newName: string) { let newTail = text.substring(link.pos); // Only relative links need to be updated - if (/^[^/][^\]]+?(? if link has spaces @@ -448,7 +448,7 @@ async function updateBacklinks( for (const link of linksInPage) { let newTail = text.substring(link.pos); let newLink = newName; - if (/^[^\]]+?(?