mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-03-18 04:41:12 -07:00
Fix regex for code block end detection in wikiparser
This commit is contained in:
parent
dda4c7fb10
commit
0e5ca19c3c
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ exports.init = function(parser) {
|
|||
};
|
||||
|
||||
exports.parse = function() {
|
||||
var reEnd = /(\r?\n```$)/mg;
|
||||
var reEnd = /(\r?\n)?```$/mg;
|
||||
var languageStart = this.parser.pos + 3,
|
||||
languageEnd = languageStart + this.match[1].length;
|
||||
// Move past the match
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue