From 7e217fd0cbec8f60a8e312a5dd609ee755349d30 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 1 Aug 2018 16:17:34 -0500 Subject: [PATCH] Use 'dump_unquoted' for share title --- src/invidious/views/embed.ecr | 2 +- 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: `