fix: render html on error page correctly
This commit is contained in:
@@ -6,8 +6,8 @@
|
|||||||
<p class="text-base leading-7 text-neutral-300">There has been an error, we are working on it.
|
<p class="text-base leading-7 text-neutral-300">There has been an error, we are working on it.
|
||||||
</p>
|
</p>
|
||||||
@if ($exception->getMessage() !== '')
|
@if ($exception->getMessage() !== '')
|
||||||
<code class="mt-6 text-xs text-left text-red-500">Error: {{ $exception->getMessage() }}
|
<div class="mt-6 text-xs text-left text-red-500">Error: {!! Str::of($exception->getMessage())->sanitizeHtml() !!}
|
||||||
</code>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<div class="flex items-center mt-10 gap-x-6">
|
<div class="flex items-center mt-10 gap-x-6">
|
||||||
<a href="/">
|
<a href="/">
|
||||||
|
Reference in New Issue
Block a user