0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/api-acceptance/admin
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
..
actions_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
config_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
db_spec.js Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00
email_preview_spec.js 🐛 Removed [http://url/] output in member email preview text 2020-08-12 20:14:06 +01:00
emails_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
images_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
integrations_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
invites_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
key_authentication_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
labels_spec.js Removed cache invalidation header when adding label through Amdin API 2020-06-04 23:44:19 +12:00
mail_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
members_spec.js Fixed auto-generated label not being attached to members during import 2020-07-26 18:30:58 +01:00
notifications_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
oembed_spec.js Fixed oembed test 2020-07-22 19:49:30 +01:00
pages_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
posts_spec.js Fixed population of image sizes when forcing re-render of posts 2020-06-18 14:02:53 +01:00
roles_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
settings_spec.js Added migration to add settings.{group,flags} columns (#11951) 2020-06-24 11:58:15 +01:00
slugs_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
tags_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
themes_spec.js Change theme uploads to move & delete at end 2020-06-08 16:12:17 +01:00
users_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
utils.js Added label to known filter params for members 2020-05-21 18:44:52 +01:00
webhooks_spec.js Added JSON Schema validations to Webhooks Admin API v3 2020-07-17 17:37:14 +12:00