Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set pretty print option to remove extra spaces. #8499

Merged
merged 1 commit into from
Jul 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
set pretty print option to remove extra spaces.
  • Loading branch information
HugoMario committed Jul 28, 2018
commit a9014f08ead96ea6e1293f2192448365b51ad75e
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,7 @@ private com.github.jknack.handlebars.Template getHandlebars(String templateFile)
templateLoader = new ClassPathTemplateLoader("/" + templateDir, ".mustache");
}
final Handlebars handlebars = new Handlebars(templateLoader);
handlebars.prettyPrint(true);
config.addHandlebarHelpers(handlebars);
return handlebars.compile(templateFile);
}
Expand Down