]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix email text containing links
authorChocobozzz <me@florianbigard.com>
Fri, 15 Apr 2022 13:17:32 +0000 (15:17 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 15 Apr 2022 13:17:32 +0000 (15:17 +0200)
server/lib/emailer.ts

index fe56688816fa24b2a8244019a4b102b595d52b30..aebca04fed1a84d135996e4e4d89493f4920a8b5 100644 (file)
@@ -144,7 +144,7 @@ class Emailer {
       htmlToText: {
         selectors: [
           { selector: 'img', format: 'skip' },
-          { selector: 'a', options: { ignoreHref: true } }
+          { selector: 'a', options: { hideLinkHrefIfSameAsText: true } }
         ]
       },
       message: {