name can contain &, decode html first. fixes #2917

This commit is contained in:
j 2016-05-17 15:25:18 +00:00
parent 05e6118a88
commit d20620a716

View file

@ -822,7 +822,7 @@ pandora.ui.infoView = function(data) {
.html(Ox._('Loading {0}...', [filmography])); .html(Ox._('Loading {0}...', [filmography]));
getFilmography( getFilmography(
key == 'studios' ? 'productionCompany' : 'name', key == 'studios' ? 'productionCompany' : 'name',
value.name, Ox.decodeHTMLEntities(value.name),
value.keys, value.keys,
function($element) { function($element) {
$link.addClass('OxLink') $link.addClass('OxLink')