0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server
Kevin Ansfield f8f0f76788 🐛 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-18 11:33:48 +01:00
..
adapters Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
api Enabled batched members import method through enableDeveloperExperiments flag 2020-08-11 18:52:37 +12:00
data Added migration to create indexes and constraints for member tables (#12108) 2020-08-06 14:57:05 +02:00
lib 🐛 Fixed srcset and sizes attributes being rendered when image resizing unavailable 2020-07-02 18:03:22 +01:00
models Reduced error level to default for not found post error 2020-08-03 23:16:53 +12:00
public Renamed members ssr + api endpoints 2020-04-30 19:00:37 +01:00
services 🐛 Removed [http://url/] output in member email preview text 2020-08-18 11:33:48 +01:00
translations Added an additional log to notify shutdown start 2020-08-10 14:53:05 +01:00
views Updated head to only output custom favicons (#11949) 2020-06-30 15:07:08 +01:00
web Added a server testmode to help test behaviour 2020-08-10 16:38:49 +01:00
analytics-events.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
ghost-server.js 🐛 Readded missing server.start event 2020-08-11 10:09:24 +01:00
index.js Refactored server announce functions to be clearer 2020-08-09 17:25:15 +01:00
overrides.js
update-check.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00