From a537963b9fedd3c1055dff33744a03fee5ea0dd4 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 17 Nov 2023 11:36:15 +0100 Subject: [PATCH] fix links with html entities --- static/js/infoView.indiancinema.js | 2 +- static/js/infoView.js | 2 +- static/js/infoView.padma.js | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/static/js/infoView.indiancinema.js b/static/js/infoView.indiancinema.js index e5130718c..e9adc8e11 100644 --- a/static/js/infoView.indiancinema.js +++ b/static/js/infoView.indiancinema.js @@ -723,7 +723,7 @@ pandora.ui.infoView = function(data, isMixed) { return key ? '' + value + '' + ) + '=' + pandora.escapeQueryValue(Ox.decodeHTMLEntities(linkValue[idx])) + '">' + value + '' : value; }).join(Ox.contains(specialListKeys, key) ? '; ' : ', '); } diff --git a/static/js/infoView.js b/static/js/infoView.js index b74c6e012..808bcfcc1 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -461,7 +461,7 @@ pandora.ui.infoView = function(data, isMixed) { return key ? '' + value + '' + ) + '=' + pandora.escapeQueryValue(Ox.decodeHTMLEntities(linkValue[idx])) + '">' + value + '' : value; }).join(Ox.contains(specialListKeys, key) ? '; ' : ', '); } diff --git a/static/js/infoView.padma.js b/static/js/infoView.padma.js index f32817b58..e12c300f1 100644 --- a/static/js/infoView.padma.js +++ b/static/js/infoView.padma.js @@ -635,7 +635,9 @@ pandora.ui.infoView = function(data, isMixed) { function formatLink(key, value, linkValue) { return (Ox.isArray(value) ? value : [value]).map(function(value) { return key - ? '' + value + '' + ? '' + value + '' : value; }).join(', '); }