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 simplest solution is to edit {{ $line }} by this following syntax : {!! $line !!} in resources/views/vendor/notifications/email.blade.php After having done php artisan vendor:publish --tag=laravel-notifications, because the {{ }} statements are automatically sent through PHP's htmlspecialchars function to prevent XSS attacks.
Be sure of what you are doing because you are open to attack XSS if you receive the data of the user and you send them directly to the notification
Description:
I've got object names that contains single or double quotes that are being mentioned in notifications:
The HTML source part of the notifications ends up containing un-encoded double quotes, however the plain-text part contains HTML entities:
Which obviously shouldn't happen and doesn't read well.
I'm not sure if this a bug, or if I should just run
html_entity_decode()
in my/markdown
templates.The text was updated successfully, but these errors were encountered: