mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 22:01:49 +03:00
932def7e6d
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 |
||
---|---|---|
.. | ||
serializers | ||
validators | ||
index.js | ||
permissions.js |