source can contain links

This commit is contained in:
j 2016-08-09 16:39:05 +02:00
parent 109814a4fa
commit 0a92d43d4e

View file

@ -427,6 +427,8 @@ pandora.ui.infoView = function(data) {
var ret; var ret;
if (key == 'year') { if (key == 'year') {
ret = formatLink(value, 'year'); ret = formatLink(value, 'year');
} else if (key == 'source') {
ret = Ox.sanitizeHTML(value);
} else if (nameKeys.indexOf(key) > -1) { } else if (nameKeys.indexOf(key) > -1) {
ret = formatLink(value.split(', '), 'name'); ret = formatLink(value.split(', '), 'name');
} else if (listKeys.indexOf(key) > -1) { } else if (listKeys.indexOf(key) > -1) {