WW-4494 Uses 2.3.0 FreeMarker incompatibility level by default

This commit is contained in:
Lukasz Lenart
2015-04-30 08:55:06 +02:00
parent 791364cf6d
commit 45071a7ff1
@@ -328,7 +328,7 @@ public class FreemarkerManager {
* @param servletContext
*/
protected Configuration createConfiguration(ServletContext servletContext) throws TemplateException {
Configuration configuration = new Configuration();
Configuration configuration = new Configuration(Configuration.VERSION_2_3_0);
configuration.setTemplateExceptionHandler(TemplateExceptionHandler.HTML_DEBUG_HANDLER);