Skip to content

Commit

Permalink
Fix custom delimiters in nested partials (#739)
Browse files Browse the repository at this point in the history
Closes #738
  • Loading branch information
aielo committed Mar 15, 2020
1 parent aca97b8 commit f3bd888
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 f3bd888

Please sign in to comment.