Raymonzut 5 years ago
parent db3c56cfd8
commit c8789bc39e
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 2
      client/public/posts.mjs

@ -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)
});
}

Loading…
Cancel
Save