James Moger
2014-04-07 521cb6022a9ee30bf3115a8dcb991aa5c7e420e3
src/main/java/com/gitblit/wicket/freemarker/Freemarker.java
@@ -27,18 +27,18 @@
public class Freemarker {
   private static final Configuration fm;
   static {
      fm = new Configuration();
      fm.setObjectWrapper(new DefaultObjectWrapper());
      fm.setOutputEncoding("UTF-8");
      fm.setClassForTemplateLoading(Freemarker.class, "templates");
   }
   public static Template getTemplate(String name) throws IOException {
      return fm.getTemplate(name);
   }
   public static void evaluate(Template template, Map<String, Object> values, Writer out) throws TemplateException, IOException {
      template.process(values, out);
   }