You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default Notification email template does not take care of mailto: and tel: links in the subcopy slot. The $actionUrl label is not readable and it is not possible to copy and paste the link from the email.
Steps to reproduce:
Create a new Notification:
php artisan make:notification InvoicePaid
Add an email address (or phone number) as action URL in App\Notifications\InvoicePaid:
publicfunctiontoMail($notifiable)
{
return (newMailMessage)
->line('The introduction to the notification.')
->action('Notification Action', 'mailto:test@example.com')
->line('Thank you for using our application!');
}
Description:
The default Notification email template does not take care of
mailto:
andtel:
links in the subcopy slot. The$actionUrl
label is not readable and it is not possible to copy and paste the link from the email.Steps to reproduce:
App\Notifications\InvoicePaid
:The (default) text in the subcopy of the email now reads as:
Request:
Consider stripping
mailto:
andtel:
from the subcopy$actionUrl
label.The text was updated successfully, but these errors were encountered: