Escape html chars

This commit is contained in:
Kenox 2022-11-03 19:19:35 +01:00
commit a7387f1578
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ haste_document.prototype.load = function(key, callback, lang) {
success: function(res) {
_this.locked = true;
_this.key = key;
_this.data = res.data;
_this.data = _this.htmlEscape(res.data);
callback({
value: _this.data,

File diff suppressed because one or more lines are too long