Skip to content
Snippets Groups Projects
Commit b4fe30b6 authored by Johannes Mey's avatar Johannes Mey
Browse files

allow partial recursion in mustache

parent 0661c85c
Branches
Tags
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment