1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Improve syslink parsing

Fixes #1767
This commit is contained in:
Jermolene 2015-06-24 09:24:03 +01:00
parent 948b72dc7a
commit 50c6ce8b73

View File

@ -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() {