diff --git a/satiate.js b/satiate.js index 3fa2d27..86872bb 100644 --- a/satiate.js +++ b/satiate.js @@ -54,7 +54,7 @@ function print(lines) { const log = document.querySelector("#log"); const div = document.createElement("div"); - div.textContent = line; + div.innerHTML = line; bigDiv.appendChild(div); }); diff --git a/stories/demo.js b/stories/demo.js index 3bb3ad8..dae799e 100644 --- a/stories/demo.js +++ b/stories/demo.js @@ -13,7 +13,7 @@ stories.push({ state.player.stats.number = {name: "Number", type: "counter", value: 0, max: 10, color: "rgb(255,255,255)"}; }, "intro": () => { - print(["don't fall down the stairs ok"]); + print(["don't fall down the stairs ok"]); } }, "sounds": [