mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Use 'dump_unquoted' for share title
This commit is contained in:
parent
25bf44d7ad
commit
7e217fd0cb
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ var shareOptions = {
|
||||||
socials: ["fb", "tw", "reddit", "mail"],
|
socials: ["fb", "tw", "reddit", "mail"],
|
||||||
|
|
||||||
url: "<%= host_url %>/<%= video.id %>?<%= host_params %>",
|
url: "<%= host_url %>/<%= video.id %>?<%= host_params %>",
|
||||||
title: "<%= HTML.escape(video.title) %>",
|
title: "<%= video.title.dump_unquoted %>",
|
||||||
description: "<%= description %>",
|
description: "<%= description %>",
|
||||||
image: '<%= thumbnail %>',
|
image: '<%= thumbnail %>',
|
||||||
embedCode: `<iframe id='ivplayer' type='text/html' width='640' height='360'
|
embedCode: `<iframe id='ivplayer' type='text/html' width='640' height='360'
|
||||||
|
|
|
@ -92,7 +92,7 @@ var shareOptions = {
|
||||||
socials: ["fb", "tw", "reddit", "mail"],
|
socials: ["fb", "tw", "reddit", "mail"],
|
||||||
|
|
||||||
url: "<%= host_url %>/<%= video.id %>?<%= host_params %>",
|
url: "<%= host_url %>/<%= video.id %>?<%= host_params %>",
|
||||||
title: "<%= HTML.escape(video.title) %>",
|
title: "<%= video.title.dump_unquoted %>",
|
||||||
description: "<%= description %>",
|
description: "<%= description %>",
|
||||||
image: '<%= thumbnail %>',
|
image: '<%= thumbnail %>',
|
||||||
embedCode: `<iframe id='ivplayer' type='text/html' width='640' height='360'
|
embedCode: `<iframe id='ivplayer' type='text/html' width='640' height='360'
|
||||||
|
|
Loading…
Reference in a new issue