Skip to content

Commit

Permalink
Merge pull request #8499 from swagger-api/annoying_spaces_fix
Browse files Browse the repository at this point in the history
set pretty print option to remove extra spaces.
  • Loading branch information
HugoMario authored Jul 28, 2018
2 parents 7ec5235 + a9014f0 commit 4016988
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit 4016988

Please sign in to comment.