Ghost/ghost
Rishabh Garg 0fb7abae87 🐛 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 16:15:51 +05:30
..
adapter-cache-memory-ttl
adapter-cache-redis
adapter-manager
admin v5.40.1 2023-03-24 18:04:56 +00:00
api-framework
api-version-compatibility-service
audience-feedback
bootstrap-socket
constants
core v5.40.1 2023-03-24 18:04:56 +00:00
custom-theme-settings-service
data-generator
domain-events
dynamic-routing-events
email-analytics-provider-mailgun
email-analytics-service
email-content-generator
email-events
email-service 🐛 Fixed LinkReplacer bug causing broken links on published post/page (#16514) 2023-03-28 16:15:51 +05:30
email-suppression-list
event-aware-cache-wrapper
express-dynamic-redirects Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
external-media-inliner
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext
i18n
importer-handler-content-files
importer-revue
job-manager
link-redirects
link-replacer 🐛 Fixed LinkReplacer bug causing broken links on published post/page (#16514) 2023-03-28 16:15:51 +05:30
link-tracking
magic-link
mailgun-client
member-attribution
member-events
members-api 🐛 Fixed member newsletter subscription not saving in Admin (#16490) 2023-03-24 23:29:49 +05:30
members-csv
members-events-service
members-importer
members-ssr
mentions-email-report
milestones
minifier
mw-api-version-mismatch
mw-cache-control
mw-error-handler
mw-session-from-token
mw-update-user-last-seen
mw-version-match
mw-vhost
oembed-service Disabled got retries in testing environment 2023-03-24 11:55:57 +01:00
offers
package-json
payments
portal
posts-service
referrers
security Update Test & linting packages 2023-03-13 02:36:20 +00:00
session-service
settings-path-manager
slack-notifications Disabled got retries in testing environment 2023-03-24 11:55:57 +01:00
sodo-search
staff-service
stats-service
stripe
tiers
update-check-service
verification-trigger Prevent errors during the verification trigger tests 2023-03-24 12:32:28 +00:00
version-notifications-data-service
webmentions