mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-09 08:17:42 +08:00
movie/episodes template: properly escape single quotes for title attribute
This commit is contained in:
parent
6c822655c4
commit
a1677bf9b6
2 changed files with 4 additions and 4 deletions
|
@ -400,7 +400,7 @@
|
|||
hi: $(this).attr("data-hi"),
|
||||
sonarrSeriesId: $(this).attr('data-sonarrSeriesId'),
|
||||
sonarrEpisodeId: $(this).attr('data-sonarrEpisodeId'),
|
||||
title: "{{!details[0]}}"
|
||||
title: '{{!details[0].replace("'", "\\'")}}'
|
||||
};
|
||||
|
||||
$('#loader_text').text("Downloading subtitle to disk...");
|
||||
|
@ -475,7 +475,7 @@
|
|||
hi: hi,
|
||||
sonarrSeriesId: sonarrSeriesId,
|
||||
sonarrEpisodeId: sonarrEpisodeId,
|
||||
title: "{{!details[0]}}"
|
||||
title: '{{!details[0].replace("'", "\\'")}}'
|
||||
};
|
||||
|
||||
$('#search_result').DataTable( {
|
||||
|
|
|
@ -348,7 +348,7 @@
|
|||
hi: $(this).attr("data-hi"),
|
||||
radarrId: $(this).attr("data-radarrId"),
|
||||
tmdbid: {{tmdbid}},
|
||||
title: "{{!details[0]}}"
|
||||
title: '{{!details[0].replace("'", "\\'")}}'
|
||||
};
|
||||
|
||||
$('#loader_text').text("Downloading subtitle to disk...");
|
||||
|
@ -418,7 +418,7 @@
|
|||
language: language,
|
||||
hi: hi,
|
||||
radarrId: radarrId,
|
||||
title: "{{!details[0]}}"
|
||||
title: '{{!details[0].replace("'", "\\'")}}'
|
||||
};
|
||||
|
||||
$('#search_result').DataTable( {
|
||||
|
|
Loading…
Reference in a new issue