Q:

When to use double braces in Laravel? 

I want to know when to use {{}} and when {!!!!}  in Laravel?  I know that it is an approach to prevent XSS but I have seen that all developers use {{}} for even the image address, stylesheet address, script address and so on while as I know XSS is something that can be done with malicious user INPUT not the one that is static and is set by developer.  Am I right? 
Thanks

A:

From Laravel docs:

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

Hello, {!!  $name !!}.