mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +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();
|
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.setLocalizedLookup(false);
|
||||||
cfg.setDefaultEncoding(config.getCharset().toString());
|
cfg.setDefaultEncoding(config.getCharset().toString());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user