Skip to content

Commit

Permalink
fix: render html on error page correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
peaklabs-dev committed Dec 13, 2024
1 parent d820aa0 commit 382acad
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 @@ -6,8 +6,8 @@
<p class="text-base leading-7 text-neutral-300">There has been an error, we are working on it.
</p>
@if ($exception->getMessage() !== '')
<code class="mt-6 text-xs text-left text-red-500">Error: {{ $exception->getMessage() }}
</code>
<div class="mt-6 text-xs text-left text-red-500">Error: {!! Str::of($exception->getMessage())->sanitizeHtml() !!}
</div>
@endif
<div class="flex items-center mt-10 gap-x-6">
<a href="/">
Expand Down

0 comments on commit 382acad

Please sign in to comment.