about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-29 17:38:11 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-29 17:38:11 +0100
commit0eb2a33115db423f1deec0fa5da598b0981f2af5 (patch)
tree6ebc4478c580e749b3a1d906501025f0e01e0f80
parentchore(yt_dlp/wrapper/info_json): Add further structure fields (diff)
downloadyt-0eb2a33115db423f1deec0fa5da598b0981f2af5.tar.gz
yt-0eb2a33115db423f1deec0fa5da598b0981f2af5.zip
fix(yt/videos/display): Also replace '“' in titles
-rw-r--r--yt/src/videos/display/mod.rs2
1 files changed, 1 insertions, 1 deletions
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 = {