mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
6b3c4a59b4
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 |
||
---|---|---|
.. | ||
adapters | ||
api | ||
apps | ||
config | ||
data | ||
helpers | ||
lib | ||
models | ||
public | ||
services | ||
web |