Skip to content

Commit

Permalink
fix: render html correctly now
Browse files Browse the repository at this point in the history
  • Loading branch information
peaklabs-dev committed Jan 6, 2025
1 parent a29547b commit 3adc9cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/errors/500.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<h1 class="mt-4 font-bold tracking-tight dark:text-white">Wait, this is not cool...</h1>
<p class="text-base leading-7 text-neutral-300">There has been an error, we are working on it.</p>
@if ($exception->getMessage() !== '')
<div class="mt-6 text-xs text-left text-red-500 whitespace-pre-wrap">
Error: {!! nl2br(e($exception->getMessage())) !!}
<div class="mt-6 text-xs text-right text-red-500 whitespace-pre-wrap">
Error: {!! $exception->getMessage() !!}
</div>
@endif
<div class="flex items-center mt-10 gap-x-6">
Expand Down

0 comments on commit 3adc9cf

Please sign in to comment.