fix links with quotes

This commit is contained in:
j 2023-11-17 11:36:03 +01:00
parent 66d790f9cd
commit 0c098e768c

View file

@ -639,7 +639,9 @@ pandora.ui.infoView = function(data, isMixed) {
function formatLink(key, value, linkValue) { function formatLink(key, value, linkValue) {
return (Ox.isArray(value) ? value : [value]).map(function(value) { return (Ox.isArray(value) ? value : [value]).map(function(value) {
return key return key
? '<a href="/' + key + '=' + pandora.escapeQueryValue(linkValue ? linkValue : value) + '">' + value + '</a>' ? '<a href="/' + key + '=' + pandora.escapeQueryValue(
Ox.decodeHTMLEntities(linkValue ? linkValue : value)
) + '">' + value + '</a>'
: value; : value;
}).join(', '); }).join(', ');
} }