no html entities in document title, fixes #1558

This commit is contained in:
j 2013-05-31 22:14:58 +00:00
parent 379dbda360
commit 824cf1ff07

View file

@ -29,7 +29,7 @@ pandora.ui.item = function() {
if (result.status.code == 200) {
// we want to cache the title in any way, so that after closing
// a dialog and getting to this item, the title is correct
var documentTitle = pandora.getDocumentTitle(result.data.title);
var documentTitle = pandora.getDocumentTitle(Ox.decodeHtml(result.data.title));
document.title = pandora.getPageTitle(document.location.pathname) || documentTitle;
}