From e03b4297d14fdefb38891d553869c500bcb0d2d8 Mon Sep 17 00:00:00 2001 From: Gergan Penkov Date: Fri, 11 Aug 2017 10:45:39 +0200 Subject: [PATCH] Fix the default include syntax #8 --- lib/engine_handlebars.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/engine_handlebars.js b/lib/engine_handlebars.js index 0e6748f..1a7c11f 100644 --- a/lib/engine_handlebars.js +++ b/lib/engine_handlebars.js @@ -60,8 +60,7 @@ var engine_handlebars = { // register exact partial name Handlebars.registerPartial(pattern.patternPartial, pattern.template); - // register verbose syntax? No, it seems that Handlebars can't tolerate - // slashes in partial names. + Handlebars.registerPartial(pattern.verbosePartial, pattern.template); }, // find and return any {{> template-name }} within pattern