Ghost/core/server/api/canary/utils
Kevin Ansfield 932def7e6d Fixed replacement strings showing when viewing sent emails
refs https://github.com/TryGhost/Ghost/pull/12232

When viewing sent emails in Ghost's admin area, it displays the `html` field directly from the `email` relation loaded with the post. Since the `mega` refactor we now store raw content in that field rather than sanitized "preview" content so it's necessary to modify the API output to match the old behaviour.

- use the API output serializers to parse replacements in email content and replace with the desired fallback or empty string
2020-09-29 17:39:22 +01:00
..
serializers Fixed replacement strings showing when viewing sent emails 2020-09-29 17:39:22 +01:00
validators 🐛 Fixed CSV import json-schema email validation (#12239) 2020-09-29 12:51:35 +01:00
index.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
permissions.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00