fix links with quotes

This commit is contained in:
j 2023-11-17 11:36:03 +01:00
parent 66d790f9cd
commit 0c098e768c
1 changed files with 3 additions and 1 deletions

View File

@ -639,7 +639,9 @@ pandora.ui.infoView = function(data, isMixed) {
function formatLink(key, value, linkValue) {
return (Ox.isArray(value) ? value : [value]).map(function(value) {
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;
}).join(', ');
}