From c8789bc39ec606af6896dc1bc067441795c26d6f Mon Sep 17 00:00:00 2001 From: Raymonzut <40148684+Raymonzut@users.noreply.github.com> Date: Sat, 20 Jun 2020 16:57:00 +0200 Subject: [PATCH] Fix #9 --- client/public/posts.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }); }