修复beetl.properties配置冲突问题#I1PZNN

This commit is contained in:
sunyan 2020-08-18 10:56:18 +08:00
parent 2eb605b886
commit 2dca54650a
2 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,7 @@ public class BeetlTemplateUtil {
try {
ClasspathResourceLoader resourceLoader = new ClasspathResourceLoader("/template/");
Configuration cfg = Configuration.defaultConfiguration();
cfg.add("/smart-doc-beetl.properties");
GroupTemplate gt = new GroupTemplate(resourceLoader, cfg);
return gt.getTemplate(templateName);
} catch (IOException e) {

View File

@ -0,0 +1,2 @@
DELIMITER_STATEMENT_START2=<!--#
DELIMITER_STATEMENT_END2=-->