An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(modal-confirmation): decode HTML entities in confirmation text to ensure proper display
Andras Bacsai9c37e2bf5335
diff --git a/resources/views/components/modal-confirmation.blade.php b/resources/views/components/modal-confirmation.blade.phpindex 75a9e08852..f5a0ca84a5 100644--- a/resources/views/components/modal-confirmation.blade.php+++ b/resources/views/components/modal-confirmation.blade.php@@ -42,7 +42,7 @@deleteText: '',password: '',actions: @js($actions),- confirmationText: @js($confirmationText),+ confirmationText: @js(html_entity_decode($confirmationText, ENT_QUOTES, 'UTF-8')),userConfirmationText: '',confirmWithText: @js($confirmWithText && !$disableTwoStepConfirmation),confirmWithPassword: @js($confirmWithPassword && !$disableTwoStepConfirmation),@@ -258,7 +258,7 @@<h4 class="mb-2 text-lg font-semibold">Confirm Actions</h4><p class="mb-2 text-sm">{{ $confirmationLabel }}</p><div class="relative mb-2">- <x-forms.copy-button text="{{ $confirmationText }}" />+ <x-forms.copy-button :text="html_entity_decode($confirmationText, ENT_QUOTES, 'UTF-8')" /></div><label for="userConfirmationText"