Ghost/core/server/lib
Kevin Ansfield 6b3c4a59b4 🐛 Fixed rendering and url transformation of v1 "card-markdown" aliased cards
no issue

- Ghost 1.x stored markdown cards with the name `card-markdown`, this was changed in Ghost 2.x to be `markdown`. To keep compatibility with the older mobiledoc content the `markdown` card was aliased using a straightforward `Object.assign()`. Unfortunately this failed to work adequately when the url transformation functions were added to cards and resulted in corrupted data being returned in API responses
- moved the markdown card definition into a factory function so that a clean card definition object can be used for both the `markdown` and `card-markdown` cards
2019-10-10 16:35:29 +01:00
..
common Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
fs 🐛 Ignored node_modules dir when archiving (#10969) 2019-08-06 16:17:41 +08:00
image Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
mobiledoc 🐛 Fixed rendering and url transformation of v1 "card-markdown" aliased cards 2019-10-10 16:35:29 +01:00
promise Extended sequence utility 2018-10-03 00:17:45 +02:00
security Updated to use slugify method from SDK for safe string 2019-05-07 15:33:07 +05:30
url-utils Added transformer methods to mobiledoc cards 2019-10-07 22:59:19 +01:00
constants.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
ghost-version.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
request.js Set Ghost user-agent header for got requests (#10424) 2019-01-28 17:01:34 +01:00