Skip to content

Commit

Permalink
Update code.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PineappleIOnic committed Aug 11, 2022
1 parent 06aa152 commit b5b4d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/scripts/views/forms/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
value = element.value;
}

code.innerHTML = value;
code.textContent = value;

Prism.highlightElement(code);

Expand Down

0 comments on commit b5b4d92

Please sign in to comment.