From 5e95d7e7e2ff19b70ee831c93efb94331b3f6327 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 1 Mar 2024 08:00:02 -0400 Subject: replacer: don't struggle with multiple links on line line (hopefully) --- src/util/replacer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/replacer.js b/src/util/replacer.js index f37fb5b5..64d8599b 100644 --- a/src/util/replacer.js +++ b/src/util/replacer.js @@ -591,7 +591,7 @@ export function postprocessExternalLinks(inputNodes) { continue; } - const plausibleLinkRegexp = /\[.*\)/g; + const plausibleLinkRegexp = /\[.*?\)/g; let textContent = ''; -- cgit 1.3.0-6-gf8a5