mirror of
https://github.com/seejohnrun/haste-server
synced 2025-08-21 08:43:09 -07:00
Escape html chars
This commit is contained in:
parent
abf9889676
commit
a7387f1578
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
2
static/application.min.js
vendored
2
static/application.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue