aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-04-15 15:17:32 +0200
committerChocobozzz <me@florianbigard.com>2022-04-15 15:17:32 +0200
commite85a36cb96c890f53d90ebec72fc167ed2162662 (patch)
tree63fa37e8837e07fb6e193967f9c1e5fb0869dd31
parentdb19581fb25a28cd226aa2a411db3b78a72b6f09 (diff)
downloadPeerTube-e85a36cb96c890f53d90ebec72fc167ed2162662.tar.gz
PeerTube-e85a36cb96c890f53d90ebec72fc167ed2162662.tar.zst
PeerTube-e85a36cb96c890f53d90ebec72fc167ed2162662.zip
Fix email text containing links
-rw-r--r--server/lib/emailer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts
index fe5668881..aebca04fe 100644
--- a/server/lib/emailer.ts
+++ b/server/lib/emailer.ts
@@ -144,7 +144,7 @@ class Emailer {
144 htmlToText: { 144 htmlToText: {
145 selectors: [ 145 selectors: [
146 { selector: 'img', format: 'skip' }, 146 { selector: 'img', format: 'skip' },
147 { selector: 'a', options: { ignoreHref: true } } 147 { selector: 'a', options: { hideLinkHrefIfSameAsText: true } }
148 ] 148 ]
149 }, 149 },
150 message: { 150 message: {