Improve the wikilinks regex
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7f7c17830a
commit
845ca2a683
|
@ -39,7 +39,7 @@ module.exports = (options) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
return Plugin(
|
return Plugin(
|
||||||
/(#?)\[\[([:\w\s/]+)\]\]/,
|
/(#?)\[\[([^\]]+)\]\]/,
|
||||||
(match, utils) => {
|
(match, utils) => {
|
||||||
let label = ''
|
let label = ''
|
||||||
let pageName = ''
|
let pageName = ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user