X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Femailer.ts;h=edc99057ca9e76f69180e5429f3575f5f42b7b60;hb=daa0226b0a2ae1d19b342c2b7a54267d2fd8d30e;hp=fe56688816fa24b2a8244019a4b102b595d52b30;hpb=3c7ddd7daa61d35c6fd0a992389a92599a246779;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts index fe5668881..edc99057c 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: { @@ -179,7 +179,7 @@ class Emailer { } } - // overriden/new variables given for a specific template in the payload + // overridden/new variables given for a specific template in the payload const sendOptions = merge(baseOptions, options) await email.send(sendOptions)