From 2e57da556bddb6c32efb4e16bea582dba501c894 Mon Sep 17 00:00:00 2001 From: aleemb Date: Thu, 28 Dec 2017 16:38:58 +0500 Subject: [PATCH] Add div.flash-message wrapper for CSS targeting This will allow improved CSS/UI targeting for the message body. For example `.flash-message { white-space: pre }` can allow text-formatted messages to appear exactly as intended. Something like this won't work with `.alert { white-space: pre }` since the `alert` markup contains lots of new lines and spaces used for formatting. --- src/views/message.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/message.blade.php b/src/views/message.blade.php index 7d8af13..1b1e48d 100644 --- a/src/views/message.blade.php +++ b/src/views/message.blade.php @@ -19,7 +19,7 @@ class="close" >× @endif - {!! $message['message'] !!} +
{!! $message['message'] !!}
@endif @endforeach