663b0dfeb2
fixes https://github.com/TryGhost/Team/issues/2025 fixes https://github.com/TryGhost/Team/issues/2023 The `ref` attribute has changed in email links: - We now use the site name when linking to external sites - We blacklist facebook.com because it doesn't support ref attributes - '-newsletter' is not repeated anymore if the newsletter name already ends with 'newsletter' - We always sluggify the ref - We no longer overwrite existing ref, utm_source or source parameters |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |
Member Attribution
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests