mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Merge pull request #3957 from halfdan/3956-we-dont-like-html
Don't send HTML on post save.
This commit is contained in:
commit
12595fc50e
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ var PostSerializer = ApplicationSerializer.extend(DS.EmbeddedRecordsMixin, {
|
|||
|
||||
// Don't ever pass uuid's
|
||||
delete data.uuid;
|
||||
// Don't send HTML
|
||||
delete data.html;
|
||||
|
||||
hash[root] = [data];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue