Added: Quotes around alternative titles (#2522)

Fixes #2511
This commit is contained in:
Qstick 2018-02-15 11:16:59 +01:00 committed by Leonardo Galli
parent b3e46d02c6
commit b40423f3a3
1 changed files with 2 additions and 2 deletions

View File

@ -70,9 +70,9 @@ Handlebars.registerHelper('alternativeTitlesString', function() {
});
if (titles.length === 1) {
return titles[0];
return '"' + titles[0] + '"';
}
return titles.slice(0,titles.length-1).join(", ") + " and " + titles[titles.length-1];
return '"' + titles.slice(0,titles.length-1).join('", "') + '" and "' + titles[titles.length-1] + '"';
});
Handlebars.registerHelper('GetStatus', function() {