mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Fixes #2076 single line macros shouldn't need terminating line break
This commit is contained in:
parent
bf253a603b
commit
b9299309cc
@ -61,7 +61,7 @@ exports.parse = function() {
|
|||||||
reEnd = /(\r?\n\\end[^\S\n\r]*(?:$|\r?\n))/mg;
|
reEnd = /(\r?\n\\end[^\S\n\r]*(?:$|\r?\n))/mg;
|
||||||
} else {
|
} else {
|
||||||
// Otherwise, the end of the definition is marked by the end of the line
|
// Otherwise, the end of the definition is marked by the end of the line
|
||||||
reEnd = /(\r?\n)/mg;
|
reEnd = /($|\r?\n)/mg;
|
||||||
// Move past any whitespace
|
// Move past any whitespace
|
||||||
this.parser.pos = $tw.utils.skipWhiteSpace(this.parser.source,this.parser.pos);
|
this.parser.pos = $tw.utils.skipWhiteSpace(this.parser.source,this.parser.pos);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user