From 48ea1dbd7ffcf5aa7a291564bcd723c3eb546adb Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Tue, 13 Feb 2024 08:55:52 -0600 Subject: [PATCH] Fix screwed up links, add possible highlight overwrite --- pageUpdater.js | 3 +++ static/socials/index.html | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pageUpdater.js b/pageUpdater.js index bdbe723..bfc7cd8 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -56,7 +56,10 @@ function converter(html) { for (let index = 0; index < highTable.length; index++) { var term = highTable[index]; var replacement = `${term}` + + bodyHTML = bodyHTML.replaceAll(`{${term}}`, "TEMPORARY_REPLACE") bodyHTML = bodyHTML.replaceAll(term, replacement) + bodyHTML = bodyHTML.replaceAll("TEMPORARY_REPLACE", `{${term}}`) } html = html.substring(0, html.indexOf("")) + bodyHTML + html.substring(html.indexOf("") + 7) diff --git a/static/socials/index.html b/static/socials/index.html index 6d26f00..10383b4 100644 --- a/static/socials/index.html +++ b/static/socials/index.html @@ -57,15 +57,15 @@

Coding

- Codeberg + Codeberg Docker - Github + Github

Games

- Steam + Steam