fixes #197 - Artists with '&' do not show their full name when you drill down

This commit is contained in:
Luke Pulverenti 2013-04-29 10:32:11 -04:00
parent bc2138b959
commit 5f27709a03

View File

@ -1,8 +1,9 @@
var LibraryBrowser = (function (window, $) {
function encodeName(name) {
return name;
return encodeURIComponent(name).replace("'", '%27');
var val = $.param({ name: name });
return val.substring(val.indexOf('=') + 1);
}
var defaultBackground = "#999;";
@ -183,7 +184,7 @@
}
else if (item.Type == "Game") {
html += '<p class="itemMiscInfo">' + item.GameSystem + '</p>';
html += '<p class="itemMiscInfo">' + item.GameSystem + '</p>';
}
else {
html += '<p class="itemMiscInfo">' + LibraryBrowser.getMiscInfoHtml(item) + '</p>';