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,