diff --git a/lettera-aperta-rettore/index.html b/lettera-aperta-rettore/index.html index bb384c4..ac2abca 100644 --- a/lettera-aperta-rettore/index.html +++ b/lettera-aperta-rettore/index.html @@ -27,7 +27,7 @@ font-family: Helvetica, Arial, sans-serif; } - #signatures b { + .namepart { white-space: nowrap; } @@ -141,7 +141,12 @@ let names = data.names; let signatures = document.getElementById('signatures'); names.forEach(function (name, index) { - signatures.innerHTML += "" + name + ''; + let nameparts = name.split(' '); + let fullname = ""; + nameparts.forEach(function (namepart, index) { + fullname += '' + namepart + ' '; + }); + signatures.innerHTML += "" + fullname + ''; if (index < names.length - 1) { signatures.innerHTML += ', '; }