Ghost/ghost/link-replacer/test
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
..
utils Added database storage for link redirects and click events (#15423) 2022-09-19 17:12:54 +02:00
.eslintrc.js Added database storage for link redirects and click events (#15423) 2022-09-19 17:12:54 +02:00
LinkReplacer.test.js Fixed LinkReplacer bug causing broken links on published post/page (#16514) 2023-03-28 15:59:15 +05:30