kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fix problem with the regexp for the "dash" parser
rodzic
11d001ad80
commit
4cf1c9ed1e
|
@ -24,7 +24,7 @@ exports.types = {inline: true};
|
||||||
exports.init = function(parser) {
|
exports.init = function(parser) {
|
||||||
this.parser = parser;
|
this.parser = parser;
|
||||||
// Regexp to match
|
// Regexp to match
|
||||||
this.matchRegExp = /-{2,3}[^-]/mg;
|
this.matchRegExp = /-{2,3}(?!-)/mg;
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.parse = function() {
|
exports.parse = function() {
|
||||||
|
|
Ładowanie…
Reference in New Issue