diff --git a/editor/src/wikilinks.js b/editor/src/wikilinks.js index 202e2c3..0cd6f50 100644 --- a/editor/src/wikilinks.js +++ b/editor/src/wikilinks.js @@ -39,7 +39,7 @@ module.exports = (options) => { } return Plugin( - /(#?)\[\[([:\w\s/]+)\]\]/, + /(#?)\[\[([^\]]+)\]\]/, (match, utils) => { let label = '' let pageName = ''