mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
f8f0f76788
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 |
||
---|---|---|
.. | ||
api-acceptance | ||
frontend-acceptance | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.json | ||
.jshintrc |