mirror of
https://github.com/seejohnrun/haste-server
synced 2025-08-21 10:53: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) {
|
success: function(res) {
|
||||||
_this.locked = true;
|
_this.locked = true;
|
||||||
_this.key = key;
|
_this.key = key;
|
||||||
_this.data = res.data;
|
_this.data = _this.htmlEscape(res.data);
|
||||||
|
|
||||||
callback({
|
callback({
|
||||||
value: _this.data,
|
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