Fix highlight override
This commit is contained in:
parent
48ea1dbd7f
commit
9191de9bc1
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ function converter(html) {
|
||||||
|
|
||||||
bodyHTML = bodyHTML.replaceAll(`{${term}}`, "TEMPORARY_REPLACE")
|
bodyHTML = bodyHTML.replaceAll(`{${term}}`, "TEMPORARY_REPLACE")
|
||||||
bodyHTML = bodyHTML.replaceAll(term, replacement)
|
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)
|
html = html.substring(0, html.indexOf("<body>")) + bodyHTML + html.substring(html.indexOf("</body>") + 7)
|
||||||
|
|
Loading…
Reference in a new issue