0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Don't send HTML on post save.

fixes #3956
- adjusts post serialiser to not send HTML content
This commit is contained in:
Fabian Becker 2014-09-03 20:51:52 +00:00
parent 12cb93e333
commit 60ed88f804

View file

@ -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];
}