Fix highlight override

This commit is contained in:
Bingus_Violet 2024-02-13 08:57:08 -06:00
parent 48ea1dbd7f
commit 9191de9bc1

View file

@ -59,7 +59,7 @@ function converter(html) {
bodyHTML = bodyHTML.replaceAll(`{${term}}`, "TEMPORARY_REPLACE")
bodyHTML = bodyHTML.replaceAll(term, replacement)
bodyHTML = bodyHTML.replaceAll("TEMPORARY_REPLACE", `{${term}}`)
bodyHTML = bodyHTML.replaceAll("TEMPORARY_REPLACE", `${term}`)
}
html = html.substring(0, html.indexOf("<body>")) + bodyHTML + html.substring(html.indexOf("</body>") + 7)