Update toast.blade.php to use x-html instead of x-text

This commit is contained in:
Andras Bacsai 2024-01-26 10:37:53 +01:00
parent 376c081bed
commit 050155328b

View File

@ -404,11 +404,11 @@ window.customToastHTML = `
fill="currentColor"></path>
</svg>
<p class="font-medium leading-none text-neutral-200"
x-text="toast.message">
x-html="toast.message">
</p>
</div>
<p x-show="toast.description" :class="{ 'pl-5': toast.type!='default' }"
class="mt-1.5 text-xs leading-none opacity-70" x-text="toast.description"></p>
class="mt-1.5 text-xs leading-none opacity-70" x-html="toast.description"></p>
</div>
</template>
<template x-if="toast.html">