0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
Kevin Ansfield c434666ba2 🐛 Removed [http://url/] output in member email preview text
no issue

- we output the post excerpt in a hidden div in the email template so that email clients pick it up as the "preview" text when listing emails
- when no custom excerpt is provided the preview text is grabbed from post.excerpt which is the first 500 chars of the post.plaintext value
- post.plaintext formats links as "Link [http://url/]" which is unwanted in html email previews

- add a basic replacement to the post email serializer to remove any `[http://url/]` occurrences from the post excerpt before rendering the email content
2020-08-12 20:14:06 +01:00
..
client@85784f4d21 Updated Ghost-Admin to v3.29.1 2020-08-11 10:46:42 +01:00
frontend Extracted core/server/lib/security to @tryghost/security package 2020-08-11 14:06:50 +01:00
server 🐛 Removed [http://url/] output in member email preview text 2020-08-12 20:14:06 +01:00
shared Fixed default shutdown timeout 2020-08-10 13:00:02 +01:00
index.js Refactored server announce functions to be clearer 2020-08-09 17:25:15 +01:00