Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix email text containing links

Chocobozzze85a36cb96c8
diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts
index fe56688816..aebca04fed 100644
--- a/server/lib/emailer.ts
+++ b/server/lib/emailer.ts
@@ -144,7 +144,7 @@ class Emailer {
htmlToText: {
selectors: [
{ selector: 'img', format: 'skip' },
- { selector: 'a', options: { ignoreHref: true } }
+ { selector: 'a', options: { hideLinkHrefIfSameAsText: true } }
]
},
message: {