mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Fix email links displayed twice as text
This commit is contained in:
parent
ec2fa0d0b1
commit
3c7ddd7daa
2 changed files with 13 additions and 0 deletions
|
@ -141,6 +141,12 @@ class Emailer {
|
|||
|
||||
const email = new Email({
|
||||
send: true,
|
||||
htmlToText: {
|
||||
selectors: [
|
||||
{ selector: 'img', format: 'skip' },
|
||||
{ selector: 'a', options: { ignoreHref: true } }
|
||||
]
|
||||
},
|
||||
message: {
|
||||
from: `"${fromDisplayName}" <${CONFIG.SMTP.FROM_ADDRESS}>`
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue