Use 'dump_unquoted' for share title

このコミットが含まれているのは:
Omar Roth 2018-08-01 16:17:34 -05:00
コミット 7e217fd0cb
2個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -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'