no html entities in document title, fixes #1558
This commit is contained in:
parent
379dbda360
commit
824cf1ff07
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ pandora.ui.item = function() {
|
||||||
if (result.status.code == 200) {
|
if (result.status.code == 200) {
|
||||||
// we want to cache the title in any way, so that after closing
|
// we want to cache the title in any way, so that after closing
|
||||||
// a dialog and getting to this item, the title is correct
|
// 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;
|
document.title = pandora.getPageTitle(document.location.pathname) || documentTitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue