From ec34074e08a8c37a75d812bca4b861b4a488af24 Mon Sep 17 00:00:00 2001 From: Ethan Wong Date: Sun, 21 May 2023 13:13:26 +0800 Subject: [PATCH] Declare utf-8 charset for HTML text written to the pasteboard. --- Mac/MainWindow/Timeline/ArticlePasteboardWriter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/MainWindow/Timeline/ArticlePasteboardWriter.swift b/Mac/MainWindow/Timeline/ArticlePasteboardWriter.swift index 4dd5b80d5..5036ecd49 100644 --- a/Mac/MainWindow/Timeline/ArticlePasteboardWriter.swift +++ b/Mac/MainWindow/Timeline/ArticlePasteboardWriter.swift @@ -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 "\n" + rendering.html }() init(article: Article) {