git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
fcefe78
)
#285 Fix issue with wikilink parsing
author
Adam Dullage
<redacted>
Mon, 17 Feb 2025 13:11:02 +0000
(13:11 +0000)
committer
Adam Dullage
<redacted>
Mon, 17 Feb 2025 13:11:02 +0000
(13:11 +0000)
client/components/toastui/baseOptions.js
patch
|
blob
|
history
diff --git
a/client/components/toastui/baseOptions.js
b/client/components/toastui/baseOptions.js
index f156115f456b54987e8260e13a2ebe03daace958..c4c96af7c9593a669f71f02223a4f4dfb9ca12f9 100644
(file)
--- a/
client/components/toastui/baseOptions.js
+++ b/
client/components/toastui/baseOptions.js
@@
-75,7
+75,7
@@
export function parseUrlLink(source) {
// end of raw toast-ui source
function parseWikiLink(source) {
- const matched = source.matchAll(/\[\[(.*)\]\]/g);
+ const matched = source.matchAll(/\[\[(.*
?
)\]\]/g);
if (matched) {
return Array.from(matched).map((match) => {
const text = match[1];
git clone https://git.99rst.org/PROJECT