diff --git a/js/posts.js b/js/posts.js index f75bb7d..bbffe76 100644 --- a/js/posts.js +++ b/js/posts.js @@ -112,7 +112,7 @@ async function createPost(username,text,time,specialtext,postid,isbot,reply_id) } newP.appendChild(spacerTextNode()) // |\>.Reply to this Post` + newP.innerHTML += `` if(reply_id != 0) { try { @@ -182,7 +182,7 @@ async function main(){ function reply(username,postid,posttext) { document.getElementById("reply").style = "" document.getElementById("reply_username").innerText = username - document.getElementById("reply_text").innerHTML = filterPost(unescape(posttext)) + document.getElementById("reply_text").innerHTML = filterPost(unescape(posttext.replace("\\\\","\\").replace("\\`","`"))) reply_id = postid }