fix
Helius
2022-07-08 9bdf44d1fba033ac6a98ffec32ee29ff6fb22cf6
src/main/java/com/xcong/farmer/cms/core/node/Template.java
@@ -31,7 +31,7 @@
    // 页面中包含的标签
    public static Set<String> TAGS;
    public static boolean HAS_PAGING = false;
    public volatile static boolean HAS_PAGING = false;
    public Template() {
        TAGS = new HashSet<>();
@@ -63,7 +63,7 @@
        if ("article".equals(templateType)) {
            Object templateName = system.get("templateName");
            if (templateName != null) {
                this.name = (String) templateName;
                this.name = String.valueOf(templateName);
            }
        } else if ("column".equals(templateType)) {
            Object page = system.get("page");
@@ -77,7 +77,7 @@
    }
    public void parser() {
        Elements children = document.body().children();
        Elements children = document.children();
        if (CollUtil.isNotEmpty(children)) {
            for (Element child : children) {
                PartNode partNode = new PartNode(child, this.system);
@@ -96,7 +96,7 @@
        for (PartNode partNode : partNodes) {
            sb.append(partNode.getHtml());
        }
        document.body().empty().html(sb.toString());
        document = Jsoup.parse(sb.toString());
        String outPath = path(outputPath);
        String html = document.html();