Skip to content

Commit

Permalink
chore: fix script issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 5, 2023
1 parent a633b61 commit bd49707
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ div.regex span.danger {

const styleElement = {
type: 'element',
properties: {},
tagName: 'style',
children: [
{
Expand Down Expand Up @@ -262,6 +263,7 @@ const options = {
node.children.push(styleElement)
node.children.push({
type: 'element', tagName: 'script',
properties: {},
children: [{
type: 'text',
value: script
Expand Down

0 comments on commit bd49707

Please sign in to comment.