diff --git a/core/modules/parsers/wikiparser/rules/syslink.js b/core/modules/parsers/wikiparser/rules/syslink.js index 79c0a0df8..c3f49e38f 100644 --- a/core/modules/parsers/wikiparser/rules/syslink.js +++ b/core/modules/parsers/wikiparser/rules/syslink.js @@ -18,7 +18,7 @@ exports.types = {inline: true}; exports.init = function(parser) { this.parser = parser; // Regexp to match - this.matchRegExp = /~?\$:[^\s<|]+(?:[^\s<|])/mg; + this.matchRegExp = /~?\$:\/[a-zA-Z/.-]+/mg; }; exports.parse = function() {