import net.pterodactylus.demoscenemusic.page.ServletRequest;
import net.pterodactylus.util.io.Closer;
+import net.pterodactylus.util.template.HtmlFilter;
+import net.pterodactylus.util.template.ReflectionAccessor;
import net.pterodactylus.util.template.Template;
import net.pterodactylus.util.template.TemplateContextFactory;
import net.pterodactylus.util.template.TemplateParser;
super.init(config);
core = (Core) config.getServletContext().getAttribute("core");
+ templateContextFactory.addAccessor(Object.class, new ReflectionAccessor());
+
+ templateContextFactory.addFilter("html", new HtmlFilter());
+
templateContextFactory.addTemplateObject("core", core);
templateContextFactory.addTemplateObject("dataManager", core.getDataManager());