From e7e8787e03f0911a2321a14ad6d8d9b6bff6875b Mon Sep 17 00:00:00 2001 From: Snorre Date: Tue, 1 Apr 2025 15:33:51 +0200 Subject: [PATCH] fixed links to posts with & in their name not working --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 37967fe..f2b05b5 100644 --- a/public/index.html +++ b/public/index.html @@ -69,7 +69,7 @@ p.innerHTML = "Recent posts"; let elem = document.querySelector("#content>.content.posts>ul"); - elem.innerHTML = posts.slice(0, 3).map(x => `
  • ${x}
  • `).join("\n"); + elem.innerHTML = posts.slice(0, 3).map(x => `
  • ${x}
  • `).join("\n"); elem.style.maxWidth = "40ch"; elem.classList.add("posts"); })()