diff --git a/client/public/posts.mjs b/client/public/posts.mjs index 44efb35..ff27c4b 100644 --- a/client/public/posts.mjs +++ b/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) }); }