I'm using flash message with laravel to display notification to users.
I want to include html
tags in my message.
For example:Flash::overlay('Votre compte n’est pas encore activé.<a href="link_to_activation">activate</a>');
I think this may be helpful to create a flash message http://laravel.com/docs/5.0/session#flash-data
Session::flash('message', 'this is a message !');
You cannot directly put html in the flash message. However you can produce a very similar result utilizing bootstrap alert classes. In blade it would be something like this (your message would include your html):
@if (session('message')
<div class="alert alert-info">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
{{ session('message') }}
</div>
@endif
When outputing the message in the Blade Template file you have to do it like this
session('session.key.with.html')
That way laravel won't auto escape html tags.