{{ $username }} is simply used to display text contents but {!! $username !!} is used to display content with HTML tags if exists.

Suggest An Answer

Our Particitants

The {{ $variable }} syntax automatically filters out special characters, where as the {!! $variable !!} syntax does not. The latter is helpful when the variable contains HTML tags.
{{ $username }} prints all content with html tags(if tags were exist) but {!! $username !!}