Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/crystal/tools/playground/public/session.js
Original file line number Diff line number Diff line change
@@ -555,7 +555,7 @@ Playground.Session = function(options) {
//stdout
this._appendStdout = function(content) {
this.stdoutRawContent += content;
this.stdout[0].innerHTML = ansi_up.ansi_to_html(this.stdoutRawContent, {"use_classes": true});
this.stdout[0].innerHTML = ansi_up.ansi_to_html(ansi_up.escape_for_html(this.stdoutRawContent), {"use_classes": true});
}.bind(this);

this._clearStdout = function() {

0 comments on commit d847b69

Please sign in to comment.