From 2e69fe8426adce75e46e066ff2ff9069769007f0 Mon Sep 17 00:00:00 2001 From: cynic Date: Mon, 28 Feb 2022 13:47:19 -0500 Subject: [PATCH] preserve newlinesinstead of just blasting the artifacts from --- tolerance.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tolerance.user.js b/tolerance.user.js index 9321a80..a3ba2ae 100644 --- a/tolerance.user.js +++ b/tolerance.user.js @@ -20,6 +20,6 @@ console.log("decoding hex"); const answers = Array.from(document.querySelectorAll(".ama-answer-content, .ama-author-name")); answers.forEach(function(ans) { - ans.innerText = ans.innerText.replaceAll(" ", ""); + ans.innerText = ans.innerText.replaceAll(" ", "0A"); ans.innerText = hex2ascii8(ans.innerText); });