diff options
author | Florian Keller <github@floriankeller.de> | 2017-02-23 19:32:43 +0300 |
---|---|---|
committer | Florian Keller <github@floriankeller.de> | 2017-02-23 19:32:43 +0300 |
commit | f16bc03439e5f2d17814930087e6db01f9dfb698 (patch) | |
tree | 6d3b4ea4875e2ccfa806a4a9a4269760d2b039f7 /resources | |
parent | 8bcec118171041c01e9ebea125d086e77958a373 (diff) |
Replace diacritical grave with HTML code
Diffstat (limited to 'resources')
-rw-r--r-- | resources/views/layouts/base.blade.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/views/layouts/base.blade.php b/resources/views/layouts/base.blade.php index cbb2398..15fdd14 100644 --- a/resources/views/layouts/base.blade.php +++ b/resources/views/layouts/base.blade.php @@ -60,22 +60,22 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. <script> @if (Session::has('info')) - toastr["info"]("{{session('info')}}", "Info") + toastr["info"](`{{str_replace('`', '`', session('info'))}}`, "Info") @endif @if (Session::has('error')) - toastr["error"]("{{session('error')}}", "Error") + toastr["error"](`{{str_replace('`', '`', session('error'))}}`, "Error") @endif @if (Session::has('warning')) - toastr["warning"]("{{session('warning')}}", "Warning") + toastr["warning"](`{{str_replace('`', '`', session('warning'))}}`, "Warning") @endif @if (Session::has('success')) - toastr["success"]("{{session('success')}}", "Success") + toastr["success"](`{{str_replace('`', '`', session('success'))}}`, "Success") @endif @if (count($errors) > 0) // Handle Lumen validation errors @foreach ($errors->all() as $error) - toastr["error"]("{{$error}}", "Error") + toastr["error"](`{{str_replace('\`', $error)}}`, "Error") @endforeach @endif </script> |