This commit is contained in:
Raymonzut
2020-06-20 16:57:00 +02:00
parent db3c56cfd8
commit c8789bc39e
+1 -1
View File
@@ -15,7 +15,7 @@ async function showPost(id) {
post.content.split('\n').forEach(paragraph => {
const p = document.createElement("p")
p.textContent = paragraph
p.innerHTML = paragraph
postsDOM.appendChild(p)
});
}