Invidious is an alternative front-end to YouTube
Use 'dump_unquoted' for share title
Omar Roth7e217fd0cbec
diff --git a/src/invidious/views/embed.ecr b/src/invidious/views/embed.ecrindex 315d06af..669fc864 100644--- a/src/invidious/views/embed.ecr+++ b/src/invidious/views/embed.ecr@@ -82,7 +82,7 @@ var shareOptions = {socials: ["fb", "tw", "reddit", "mail"],url: "<%= host_url %>/<%= video.id %>?<%= host_params %>",- title: "<%= HTML.escape(video.title) %>",+ title: "<%= video.title.dump_unquoted %>",description: "<%= description %>",image: '<%= thumbnail %>',embedCode: `<iframe id='ivplayer' type='text/html' width='640' height='360'diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecrindex 79a4c468..f135235b 100644--- a/src/invidious/views/watch.ecr+++ b/src/invidious/views/watch.ecr@@ -92,7 +92,7 @@ var shareOptions = {socials: ["fb", "tw", "reddit", "mail"],url: "<%= host_url %>/<%= video.id %>?<%= host_params %>",- title: "<%= HTML.escape(video.title) %>",+ title: "<%= video.title.dump_unquoted %>",description: "<%= description %>",image: '<%= thumbnail %>',embedCode: `<iframe id='ivplayer' type='text/html' width='640' height='360'