« get me outta code hell

replacer: don't struggle with multiple links on line line - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-01 08:00:02 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-03-31 19:19:33 -0300
commit5e95d7e7e2ff19b70ee831c93efb94331b3f6327 (patch)
tree8bf987b273b3582b58818788f14c3da157628b52 /src
parentb2f09b9ca45ac7f439aa5160c4d1b0ac61e66846 (diff)
replacer: don't struggle with multiple links on line line
(hopefully)
Diffstat (limited to 'src')
-rw-r--r--src/util/replacer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/replacer.js b/src/util/replacer.js
index f37fb5b..64d8599 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 = '';