Skip to content

Commit

Permalink
Declare utf-8 charset for HTML text written to the pasteboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
GetToSet committed Jun 13, 2023
1 parent f4748a3 commit 86ff079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mac/MainWindow/Timeline/ArticlePasteboardWriter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extension Article: PasteboardWriterOwner {

private lazy var renderedHTML: String = {
let rendering = ArticleRenderer.articleHTML(article: article, theme: ArticleThemesManager.shared.currentTheme)
return rendering.html
return "<meta charset=\"utf-8\">\n" + rendering.html
}()

init(article: Article) {
Expand Down

0 comments on commit 86ff079

Please sign in to comment.