From 9db8d822f7181ed4c8a2c6018a41df42ef98fbae Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Fri, 6 Mar 2026 08:31:53 +0100 Subject: [PATCH] Fixes #1850 --- plugs/index/refactor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 (/^[^\]]+?(?