diff options
Diffstat (limited to 'src/main/resources/js/fileview.js')
-rw-r--r-- | src/main/resources/js/fileview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/js/fileview.js b/src/main/resources/js/fileview.js index 039d618..c6b10f2 100644 --- a/src/main/resources/js/fileview.js +++ b/src/main/resources/js/fileview.js @@ -40,13 +40,13 @@ code.addEventListener("change", () => { content.classList.remove("prettyprinted"); content.innerHTML = ""; content.classList.add("linenums"); - content.innerHTML = originalContent; + content.innerText = originalContent; PR.prettyPrint(); } else { content.classList.remove("prettyprinted"); content.innerHTML = ""; content.classList.remove("linenums"); - content.innerHTML = originalContent; + content.innerText = originalContent; PR.prettyPrint(); } }); |