small change

This commit is contained in:
Araozu 2024-03-27 12:15:32 -05:00
parent b78b30a34d
commit b13030eaba

View File

@ -58,7 +58,7 @@
for (const el of [...code_elements]) { for (const el of [...code_elements]) {
const pre_parent = el.parentElement; const pre_parent = el.parentElement;
const new_div = document.createElement("div"); const new_div = document.createElement("div");
const code = el.innerHTML; const code = el.innerText;
el.parentElement.classList.add("language-thp"); el.parentElement.classList.add("language-thp");
pre_parent.removeChild(el); pre_parent.removeChild(el);