Skip to content

Commit

Permalink
Merge pull request #43 from transifex/testbed_escape
Browse files Browse the repository at this point in the history
small fix to have testbed properly escape html symbols when displaying parse errors
  • Loading branch information
kbairak committed May 10, 2016
2 parents 0bd08f1 + 8546e67 commit cd0844c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testbed/static/js/views.js
Expand Up @@ -146,7 +146,7 @@ $(function() {
} else {
this.$el.addClass('hidden');
}
this.$pre.html(Globals.payload.get('parse_error'));
this.$pre.text(Globals.payload.get('parse_error'));
});
},
});
Expand Down Expand Up @@ -313,7 +313,7 @@ $(function() {
} else {
this.$el.addClass('hidden');
}
this.$pre.html(Globals.payload.get('compile_error'));
this.$pre.text(Globals.payload.get('compile_error'));
});
},
});
Expand Down

0 comments on commit cd0844c

Please sign in to comment.