mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
fix code
This commit is contained in:
@@ -116,7 +116,7 @@ public class FreemarkerEngine implements TemplateEngine {
|
||||
config = new TemplateConfig();
|
||||
}
|
||||
|
||||
final Configuration cfg = new Configuration(Configuration.VERSION_2_3_28);
|
||||
final Configuration cfg = new Configuration(Configuration.DEFAULT_INCOMPATIBLE_IMPROVEMENTS);
|
||||
cfg.setLocalizedLookup(false);
|
||||
cfg.setDefaultEncoding(config.getCharset().toString());
|
||||
|
||||
|
Reference in New Issue
Block a user