Skip to content

Specify charset in clean-style exports#105

Merged
cyanzhong merged 1 commit into
mainfrom
develop
May 15, 2026
Merged

Specify charset in clean-style exports#105
cyanzhong merged 1 commit into
mainfrom
develop

Conversation

@cyanzhong
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds charset metadata to clean static HTML exports so saved/generated clean HTML declares UTF-8 like styled exports already do.

Changes:

  • Prepends <meta charset="UTF-8"> to unstyled output from generateStaticHtml.
  • Leaves styled output routed through applyStyles, which already includes charset metadata.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/view.ts
@cyanzhong cyanzhong merged commit bd01971 into main May 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants