Ghost/test/regression/api/v2/content
Naz 6b07d4b2a0 🐛 Fixed __GHOST_URL__ appearing in generated excerpts
refs https://github.com/TryGhost/Team/issues/467
refs a6f5eb71be

- When a generated excerpt is calculated for posts/page resources it uses raw model! to get the data. Model contains untranformed __GHOST_URL__ markup which has to be additionally processed before extracint an excerpt or use the transformed `plaintext` from available attributes (chose the latter to decrease complexity)
- Removed model dependency as `attrs` at this point of serialization should always contain the `plaintext` field. It's ugly and has an unsolved bug report here - https://github.com/TryGhost/Ghost/issues/10396. The reliance should be solved at some point, but definitely not a part of this issue
2021-03-17 19:12:40 +13:00
..
authors_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
pages_spec.js Updated fixtures for Ghost v4.0 2021-03-10 17:37:16 +00:00
posts_spec.js 🐛 Fixed __GHOST_URL__ appearing in generated excerpts 2021-03-17 19:12:40 +13:00
tags_spec.js Fixed regression tests for Tags APIs 2020-08-31 21:09:12 +12:00
utils.js 🏗 Altered slug unique constraint in posts table 2021-02-09 13:31:12 +13:00