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

Fix problem with the regexp for the "dash" parser

This commit is contained in:
Jeremy Ruston 2012-12-26 19:32:06 +00:00
parent 11d001ad80
commit 4cf1c9ed1e

View File

@ -24,7 +24,7 @@ exports.types = {inline: true};
exports.init = function(parser) {
this.parser = parser;
// Regexp to match
this.matchRegExp = /-{2,3}[^-]/mg;
this.matchRegExp = /-{2,3}(?!-)/mg;
};
exports.parse = function() {