[F.END] Remove ugly escapes

This commit is contained in:
giuliof 2020-09-20 23:02:46 +02:00
parent 542b8ea1c2
commit 3c1e2f69ec
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ function zerocalcareDisplay() {
var locationElement = document.createElement('div'); var locationElement = document.createElement('div');
var locationText = document.createElement('span'); var locationText = document.createElement('span');
if (json_obj[i]['LOCATION'] !== undefined && json_obj[i]['LOCATION'] != '') { if (json_obj[i]['LOCATION'] !== undefined && json_obj[i]['LOCATION'] != '') {
locationText.appendChild(document.createTextNode(json_obj[i]['LOCATION'])); locationText.appendChild(document.createTextNode(decodeURI(json_obj[i]['LOCATION'])));
} }
else { else {
locationText.appendChild(document.createTextNode('Officina Informatica')); locationText.appendChild(document.createTextNode('Officina Informatica'));
@ -87,7 +87,7 @@ function zerocalcareDisplay() {
if (json_obj[i]['DESCRIPTION'] !== undefined && json_obj[i]['DESCRIPTION'] != '') { if (json_obj[i]['DESCRIPTION'] !== undefined && json_obj[i]['DESCRIPTION'] != '') {
var descriptionElement = document.createElement('div'); var descriptionElement = document.createElement('div');
var descriptionText = document.createElement('span'); var descriptionText = document.createElement('span');
descriptionText.appendChild(document.createTextNode(json_obj[i]['DESCRIPTION'])); descriptionText.appendChild(document.createTextNode(decodeURI(json_obj[i]['DESCRIPTION'])));
descriptionElement.appendChild(document.createTextNode('📝 ')); descriptionElement.appendChild(document.createTextNode('📝 '));
descriptionElement.appendChild(descriptionText); descriptionElement.appendChild(descriptionText);
contentEventElement.appendChild(descriptionElement); contentEventElement.appendChild(descriptionElement);