Added: Quotes around alternative titles (#2522)

Fixes #2511
Qstick 7 years ago committed by Leonardo Galli
parent b3e46d02c6
commit b40423f3a3

@ -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() {

Loading…
Cancel
Save