Ghost/core/test/unit
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
..
adapters Updated tests eslint config to use eslint-plugin-ghost@0.5.0 2019-08-19 13:38:35 +01:00
api 🐛 Fixed "unsaved changes" modal displaying when post has been saved 2019-10-07 22:59:19 +01:00
apps Updated tests eslint config to use eslint-plugin-ghost@0.5.0 2019-08-19 13:38:35 +01:00
config Updated tests eslint config to use eslint-plugin-ghost@0.5.0 2019-08-19 13:38:35 +01:00
data Added note column to members table 2019-10-10 17:51:46 +07:00
helpers 🐛 Fixed lack of space in excerpt generated from paragraphs 2019-08-26 18:05:14 +02:00
lib 🐛 Fixed rendering and url transformation of v1 "card-markdown" aliased cards 2019-10-10 16:35:29 +01:00
models Permission restrictions for post.visibility modifications (#11213) 2019-10-08 15:44:27 +02:00
public Refactored Ghost SDK unit test 2018-10-05 16:49:46 +02:00
services Refactored GhostMailer into a class 2019-10-06 21:03:56 +07:00
web Added tests for x-request-id handling 2019-09-23 07:34:59 +01:00