mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-06-26 15:12:52 +00:00
Don't trim macro definition bodies
This commit is contained in:
parent
12683c7d5f
commit
27ccb581be
@ -68,7 +68,7 @@ exports.parse = function() {
|
|||||||
var text,
|
var text,
|
||||||
endMatch = reEnd.exec(this.parser.source);
|
endMatch = reEnd.exec(this.parser.source);
|
||||||
if(endMatch) {
|
if(endMatch) {
|
||||||
text = this.parser.source.substring(this.parser.pos,endMatch.index).trim();
|
text = this.parser.source.substring(this.parser.pos,endMatch.index);
|
||||||
this.parser.pos = endMatch.index + endMatch[0].length;
|
this.parser.pos = endMatch.index + endMatch[0].length;
|
||||||
} else {
|
} else {
|
||||||
// We didn't find the end of the definition, so we'll make it blank
|
// We didn't find the end of the definition, so we'll make it blank
|
||||||
|
Loading…
x
Reference in New Issue
Block a user