From d88a3b04af9e6a916b5c43a100973d235134a696 Mon Sep 17 00:00:00 2001 From: "zhangf@suq.cn" Date: Mon, 7 Sep 2026 09:44:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(history):=20=E4=BF=AE=E5=A4=8D=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E8=AE=B0=E5=BD=95=E5=B9=BB=E7=81=AF=E7=89=87=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E5=86=85=E5=AE=B9=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在模板渲染中添加 raw 过滤器以正确显示 HTML 内容 - 确保历史记录条目的描述内容能够按预期格式展示 - 保持现有的 strip_tags 过滤器功能同时支持原始 HTML 渲染 --- public/themes/website/1/zh/demo/about.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/themes/website/1/zh/demo/about.html b/public/themes/website/1/zh/demo/about.html index 9d9bce8..c8a7bb5 100644 --- a/public/themes/website/1/zh/demo/about.html +++ b/public/themes/website/1/zh/demo/about.html @@ -121,7 +121,7 @@

{$case_top.title}

-

{$case_top.content|strip_tags}

+

{$case_top.content|strip_tags|raw}