diff options
| -rw-r--r-- | src/invidious/views/embed.ecr | 2 | ||||
| -rw-r--r-- | src/invidious/views/watch.ecr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious/views/embed.ecr b/src/invidious/views/embed.ecr index 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.ecr index 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' |
