Commit b4fe30b6 authored by Johannes Mey's avatar Johannes Mey
Browse files

allow partial recursion in mustache

parent 0661c85c
......@@ -39,6 +39,7 @@ public class Mustache {
Handlebars handlebars = new Handlebars(loader);
handlebars.prettyPrint(true); // set handlebars to mustache mode (skip some whitespace)
handlebars.infiniteLoops(true); // allow partial recursion
Template template = handlebars.compile(templateFileName);
try (Writer w = new FileWriter(outputFileName)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment