Fix #9
This commit is contained in:
@@ -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)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user