mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-29 05:13:56 -08:00
parent
b2550f31c2
commit
93cb03eeab
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ exports.parse = function() {
|
|||
var reEnd;
|
||||
if(this.match[3]) {
|
||||
// If so, the end of the body is marked with \end
|
||||
reEnd = /(\r?\n\\end(?:$|\r?\n))/mg;
|
||||
reEnd = /(\r?\n\\end[^\S\n\r]*(?:$|\r?\n))/mg;
|
||||
} else {
|
||||
// Otherwise, the end of the definition is marked by the end of the line
|
||||
reEnd = /(\r?\n)/mg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue