small change
This commit is contained in:
parent
b78b30a34d
commit
b13030eaba
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user