Raymonzut 4 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 => { post.content.split('\n').forEach(paragraph => {
const p = document.createElement("p") const p = document.createElement("p")
p.textContent = paragraph p.innerHTML = paragraph
postsDOM.appendChild(p) postsDOM.appendChild(p)
}); });
} }

Loading…
Cancel
Save