From 0eb2a33115db423f1deec0fa5da598b0981f2af5 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 29 Oct 2024 17:38:11 +0100 Subject: fix(yt/videos/display): Also replace '“' in titles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yt/src/videos/display/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt/src/videos/display/mod.rs b/yt/src/videos/display/mod.rs index 8464d72..4e5ee50 100644 --- a/yt/src/videos/display/mod.rs +++ b/yt/src/videos/display/mod.rs @@ -163,7 +163,7 @@ impl Video { "thumbnail URL", (|url: &Url| url.to_string()) ); - let title = self.title.replace(['"', '„', '”'], "'"); + let title = self.title.replace(['"', '„', '”', '“'], "'"); let url = self.url.as_str().replace('"', "\\\""); let video_options = { -- cgit 1.4.1