From 0a92d43d4e34572f58af38fffb46510ff65c9f64 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 9 Aug 2016 16:39:05 +0200 Subject: [PATCH] source can contain links --- static/js/infoView.cdosea.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/infoView.cdosea.js b/static/js/infoView.cdosea.js index 4d8000d..dab9382 100644 --- a/static/js/infoView.cdosea.js +++ b/static/js/infoView.cdosea.js @@ -427,6 +427,8 @@ pandora.ui.infoView = function(data) { var ret; if (key == 'year') { ret = formatLink(value, 'year'); + } else if (key == 'source') { + ret = Ox.sanitizeHTML(value); } else if (nameKeys.indexOf(key) > -1) { ret = formatLink(value.split(', '), 'name'); } else if (listKeys.indexOf(key) > -1) {