From f4e63d6a5fc70cd1f3c7ec408209bb134b0d224e Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Wed, 11 Sep 2024 15:41:57 -0500 Subject: [PATCH] Fix links kinda --- pageUpdater.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pageUpdater.js b/pageUpdater.js index dc01fa8..d7a99d5 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -167,11 +167,10 @@ function highlighter(json, full = true, linkParent = false) { var word = splitContent[y] if (reg.test(word)) { + splitContent[y] = `${splitContent[y]}` if (link && !linkParent) { splitContent[y] = `${splitContent[y]}` - } else { - splitContent[y] = `${splitContent[y]}` } } }