diff options
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 |
commit | 5e95d7e7e2ff19b70ee831c93efb94331b3f6327 (patch) | |
tree | 8bf987b273b3582b58818788f14c3da157628b52 /src | |
parent | b2f09b9ca45ac7f439aa5160c4d1b0ac61e66846 (diff) |
replacer: don't struggle with multiple links on line line
(hopefully)
Diffstat (limited to 'src')
-rw-r--r-- | src/util/replacer.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 = ''; |