diff --git a/index.twig b/index.twig index 76eeee5..d6bb4ba 100644 --- a/index.twig +++ b/index.twig @@ -258,7 +258,10 @@ for(var i = 0;i < lines.length;i++){ var podcastInfo = lines[i].split(';'); const podcastTitle = document.createTextNode(lines[i]); - podcastDiv.appendChild('

' + podcastInfo[0] + '

'); + + const node = document.createElement("p"); + node.appendChild(podcastTitle); + podcastDiv.appendChild(node); } });