forked from midou/invidious
Use 'dump_unquoted' for share title
This commit is contained in:
1 parent
25bf44d7ad
commit
7e217fd0cb
2 files changed
+2
-2
No files matched your search
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user