Ghost/ghost/email-service
Rishabh Garg 2e2b3c7c0f
Fixed LinkReplacer bug causing broken links on published post/page (#16514)
refs TryGhost/Team#2840

- moves the `entities.decode()` step to the `LinkReplacer` class so that
it's applied to all links, not just the ones that are replaced in the
email service
- adds a test case to `LinkReplacer` to ensure that the
`entities.decode()` step is applied to all links correctly, decoding any
URLs with HTML entities in them

---------

Co-authored-by: Chris Raible <chris@ghost.org>
2023-03-28 15:59:15 +05:30
..
lib Fixed LinkReplacer bug causing broken links on published post/page (#16514) 2023-03-28 15:59:15 +05:30
test Added 100% unit test coverage for PostsExporter 2023-03-27 10:17:03 +02:00
.eslintrc.js Added email service package (#15849) 2022-11-21 10:29:53 +01:00
index.js Added mailgun provider for sending emails (#15896) 2022-11-30 16:21:58 +05:30
package.json Fixed LinkReplacer bug causing broken links on published post/page (#16514) 2023-03-28 15:59:15 +05:30
README.md Added email service package (#15849) 2022-11-21 10:29:53 +01:00

Email Service

Manages how posts are sent via email

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests