diff options
Diffstat (limited to 'static/index.js')
-rw-r--r-- | static/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/index.js b/static/index.js index cff7805..4ba2b19 100644 --- a/static/index.js +++ b/static/index.js @@ -3,7 +3,7 @@ import initGleamCompiler from "./compiler.js"; import stdlib from "./stdlib.js"; const output = document.querySelector("#output"); -const initialCode = document.querySelector("#code").textContent; +const initialCode = document.querySelector("#code").innerHTML; const prismGrammar = { comment: { |