1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-22 22:10:03 +00:00

Don't trim macro definition bodies

This commit is contained in:
Jeremy Ruston 2012-12-29 22:27:51 +00:00
parent 12683c7d5f
commit 27ccb581be

View File

@ -68,7 +68,7 @@ exports.parse = function() {
var text,
endMatch = reEnd.exec(this.parser.source);
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;
} else {
// We didn't find the end of the definition, so we'll make it blank