mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-24 18:04:54 +08:00
fix code
This commit is contained in:
parent
52c6275f54
commit
1008ecc545
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user