mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-08-22 10:48:53 +00:00
Fixed wikitext rule for CSS classes to not erroneously match {{{
This commit is contained in:
@@ -16,11 +16,11 @@ exports.name = "class";
|
||||
|
||||
exports.blockParser = true;
|
||||
|
||||
exports.regExpString = "\\{\\{(?:[^\\{\\r\\n]*)\\{$";
|
||||
exports.regExpString = "\\{\\{(?:[^\\{\\r\\n]+)\\{$";
|
||||
|
||||
exports.parse = function(match) {
|
||||
var tree = [],
|
||||
reStart = /\{\{([^\{\r\n]*){(?:\r?\n)?/mg,
|
||||
reStart = /\{\{([^\{\r\n]+){(?:\r?\n)?/mg,
|
||||
reEnd = /(\}\}\}$(?:\r?\n)?)/mg,
|
||||
endMatch;
|
||||
reStart.lastIndex = this.pos;
|
||||
|
||||
Reference in New Issue
Block a user