kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Don't trim macro definition bodies
rodzic
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
|
||||||
|
|
Ładowanie…
Reference in New Issue