040335c96b
refs https://github.com/TryGhost/Team/issues/1886 When serializing an email, we'll replace the links with dummy links if the emailClicks feature flag is enabled.
24 lines
364 B
Markdown
24 lines
364 B
Markdown
# Link Replacement
|
|
|
|
Replace links in a HTML string to add attribution and link tracking
|
|
|
|
|
|
## 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
|
|
|