mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 17:40:29 +00:00
Fix problem with the regexp for the "dash" parser
This commit is contained in:
parent
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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user