DEV Community

Al-Amin Islam
Al-Amin Islam

Posted on

Displaying Unescaped Data on laravel blade file

By default, Blade statements are automatically sent through PHP's htmlspecialchars function to prevent XSS attacks. If you do not want your data to be escaped, you may use the following syntax:

Hello, {!! $name !!}.
Enter fullscreen mode Exit fullscreen mode

Top comments (0)