From d48048d306535da00de4fd73943b1a88c6fa6964 Mon Sep 17 00:00:00 2001 From: xiaozzzi <42293085+xiaozzzi@users.noreply.github.com> Date: Wed, 17 Apr 2024 16:13:13 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20=E4=BC=98=E5=8C=96=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E8=AE=BF=E9=97=AE=E4=B8=AD=E7=9A=84=E7=9B=AE=E5=BD=95=E6=A0=B7?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../backend/server/utils/ArticleUtil.java | 71 ++++++++++++------- .../src/main/resources/exportTemplate.html | 5 +- 2 files changed, 49 insertions(+), 27 deletions(-) diff --git a/blossom-backend/backend/src/main/java/com/blossom/backend/server/utils/ArticleUtil.java b/blossom-backend/backend/src/main/java/com/blossom/backend/server/utils/ArticleUtil.java index 878a70c..6563566 100644 --- a/blossom-backend/backend/src/main/java/com/blossom/backend/server/utils/ArticleUtil.java +++ b/blossom-backend/backend/src/main/java/com/blossom/backend/server/utils/ArticleUtil.java @@ -103,7 +103,7 @@ public class ArticleUtil { /** * */ - private static final String HEAD_SCRIPT_BLOG_COLOR = " " + - ""; + " \n"; - private static final String HEAD_SCRIPT_WATERMARK = ""; + " \n"; - private static final String BODY_HEADER_AND_TOC = "\n" + - "