<table id="table" ...
fetch('https://myserver:8443/diag') .then(body => body.text()) .then(text => text.split(';')) .then(array => table.rows[0].cells[0].innerHTML = array.join('<br>'));