kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Don't allow < and > in external links
rodzic
c566284158
commit
b0d183070c
|
@ -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):[^\s'"]+(?:\/|\b)/mg;
|
||||
this.matchRegExp = /~?(?:file|http|https|mailto|ftp|irc|news|data):[^\s'"<>]+(?:\/|\b)/mg;
|
||||
};
|
||||
|
||||
exports.parse = function() {
|
||||
|
|
Ładowanie…
Reference in New Issue