From 484d88cfefe430be78340e08e0931f6cb206dd89 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 18 Apr 2017 12:39:52 +0300 Subject: [PATCH] Fix special chars in dropzone strings #1225 --- resources/views/invoices/edit.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/invoices/edit.blade.php b/resources/views/invoices/edit.blade.php index d40da468aff5..e5db27d841b7 100644 --- a/resources/views/invoices/edit.blade.php +++ b/resources/views/invoices/edit.blade.php @@ -1097,7 +1097,7 @@ addRemoveLinks:true, dictRemoveFileConfirmation:"{{trans('texts.are_you_sure')}}", @foreach(['default_message', 'fallback_message', 'fallback_text', 'file_too_big', 'invalid_file_type', 'response_error', 'cancel_upload', 'cancel_upload_confirmation', 'remove_file'] as $key) - "dict{{Utils::toClassCase($key)}}":"{{trans('texts.dropzone_'.$key)}}", + "dict{{ Utils::toClassCase($key) }}" : "{!! strip_tags(addslashes(trans('texts.dropzone_'.$key))) !!}", @endforeach maxFilesize:{{floatval(MAX_DOCUMENT_SIZE/1000)}}, parallelUploads:1,