Skip to content

Commit

Permalink
Fix custom delimiters in nested partials (janl#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
aielo committed Feb 25, 2020
1 parent aca97b8 commit 6c9d4bb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mustache.js
Expand Up @@ -644,7 +644,7 @@
if (tagIndex == 0 && indentation) {
indentedValue = this.indentPartial(value, indentation, lineHasNonSpace);
}
return this.renderTokens(this.parse(indentedValue, tags), context, partials, indentedValue);
return this.renderTokens(this.parse(indentedValue, tags), context, partials, indentedValue, tags);
}
};

Expand Down

0 comments on commit 6c9d4bb

Please sign in to comment.