mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 08:25:06 +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 |
||
---|---|---|
.. | ||
client@a80e2681f1 | ||
frontend | ||
server | ||
shared | ||
index.js |