From 6f3bdedd221709b7241ad9c61be36653606b316c Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Tue, 30 Nov 2010 19:39:51 -0800 Subject: [PATCH] back to render instead of render_section --- mustache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mustache.js b/mustache.js index a9fa959..8b4ba03 100644 --- a/mustache.js +++ b/mustache.js @@ -171,7 +171,7 @@ var Mustache = function() { var renderedBefore = before ? that.render_tags(before, context, partials, true) : "", // after may contain both sections and tags, so use full rendering function - renderedAfter = after ? that.render_section(after, context, partials, true) : ""; + renderedAfter = after ? that.render(after, context, partials, true) : ""; var value = that.find(name, context); if(type == "^") { // inverted section