diff --git a/src/controllers/itemDetails/index.js b/src/controllers/itemDetails/index.js
index 3f68b5badc..4cb329b2e4 100644
--- a/src/controllers/itemDetails/index.js
+++ b/src/controllers/itemDetails/index.js
@@ -666,12 +666,12 @@ function reloadFromItem(instance, page, params, item, user) {
if (item.Type == 'Person' && item.ProductionLocations && item.ProductionLocations.length) {
let location = item.ProductionLocations[0];
if (!layoutManager.tv && appHost.supports('externallinks')) {
- itemBirthLocation.innerHTML = globalize.translate('BirthPlaceValue', ``);
- page.querySelector('#itemBirthLocation > a').innerText = `${location}`;
+ location = `${escapeHtml(location)}`;
} else {
- itemBirthLocation.innerText = globalize.translate('BirthPlaceValue', `${location}`);
+ location = escapeHtml(location);
}
itemBirthLocation.classList.remove('hide');
+ itemBirthLocation.innerHTML = globalize.translate('BirthPlaceValue', location);
} else {
itemBirthLocation.classList.add('hide');
}