4184b279d2
fixes https://github.com/TryGhost/Team/issues/2666 - Somehow occurrences of `&map_` got replaced with `↦` - Disables escaping &, ', " and other HTML characters when not needed (escaping is already handled by mobiledoc/lexical) - Bumps unit test coverage of link replacer to 100% |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |
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.
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