diff --git a/core/server/models/post.js b/core/server/models/post.js index 23bf113d24..0eb45fa681 100644 --- a/core/server/models/post.js +++ b/core/server/models/post.js @@ -8,7 +8,7 @@ var _ = require('lodash'), Showdown = require('showdown-ghost'), legacyConverter = new Showdown.converter({extensions: ['ghostgfm', 'footnotes', 'highlight']}), Mobiledoc = require('mobiledoc-html-renderer').default, - converter = new Mobiledoc(), + converter = new Mobiledoc({cards:[{name: 'html-card',type: 'html',render: function (opts) {return opts.payload.html;}}]}), ghostBookshelf = require('./base'), events = require('../events'), config = require('../config'), diff --git a/package.json b/package.json index 778475d705..d650d46d33 100644 --- a/package.json +++ b/package.json @@ -54,20 +54,20 @@ "jsonpath": "0.2.7", "knex": "0.12.2", "lodash": "4.16.0", - "moment": "2.15.1", "mobiledoc-html-renderer": "0.3.0", + "moment": "2.15.1", "moment-timezone": "0.5.5", "morgan": "1.7.0", "multer": "1.2.0", - "netjet": "1.1.3", "nconf": "0.8.4", + "netjet": "1.1.3", "node-uuid": "1.4.7", "nodemailer": "0.7.1", "oauth2orize": "1.5.0", "passport": "0.3.2", + "passport-ghost": "1.0.0", "passport-http-bearer": "1.0.1", "passport-oauth2-client-password": "0.1.2", - "passport-ghost": "1.0.0", "path-match": "1.2.4", "rss": "1.2.1", "sanitize-html": "1.13.0",