From bd4970753733928f4565118242fae96f62395360 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 5 Dec 2023 23:01:34 +0800 Subject: [PATCH] chore: fix script issue. --- scripts/build.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build.mjs b/scripts/build.mjs index a4e98a8..aa5774d 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -227,6 +227,7 @@ div.regex span.danger { const styleElement = { type: 'element', + properties: {}, tagName: 'style', children: [ { @@ -262,6 +263,7 @@ const options = { node.children.push(styleElement) node.children.push({ type: 'element', tagName: 'script', + properties: {}, children: [{ type: 'text', value: script