fix links with quotes
This commit is contained in:
parent
66d790f9cd
commit
0c098e768c
1 changed files with 3 additions and 1 deletions
|
@ -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(', ');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue