1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-08 01:38:06 +00:00

Remove single quote from illegal characters in URLs

Fixes #2493
This commit is contained in:
Jermolene
2016-07-12 17:22:20 +01:00
parent 1299472c38
commit dca9e008ce
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ exports.types = {inline: true};
exports.init = function(parser) {
this.parser = parser;
// Regexp to match
this.matchRegExp = /~?(?:file|http|https|mailto|ftp|irc|news|data|skype):[^\s<>{}\[\]`|'"\\^~]+(?:\/|\b)/mg;
this.matchRegExp = /~?(?:file|http|https|mailto|ftp|irc|news|data|skype):[^\s<>{}\[\]`|"\\^~]+(?:\/|\b)/mg;
};
exports.parse = function() {