From a0d1bac8a0328ca7835e39aa05ae14d684d2b6e6 Mon Sep 17 00:00:00 2001 From: Olivier Legat Date: Tue, 1 Feb 2022 11:19:34 +0100 Subject: [PATCH] front tweaks for rich edited texts --- resources/views/front/food-service.blade.php | 6 +++--- resources/views/front/home.blade.php | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/resources/views/front/food-service.blade.php b/resources/views/front/food-service.blade.php index 1664b0c..3a7b09f 100644 --- a/resources/views/front/food-service.blade.php +++ b/resources/views/front/food-service.blade.php @@ -38,9 +38,9 @@ {{ $encart_food->alt_text_picture }}
-

- {{ $encart_food->text}} -

+
+ {!! $encart_food->text !!} +
En savoir plus
diff --git a/resources/views/front/home.blade.php b/resources/views/front/home.blade.php index 8312f5c..6a67f9e 100644 --- a/resources/views/front/home.blade.php +++ b/resources/views/front/home.blade.php @@ -51,12 +51,12 @@ {{ $encart_home->alt_text_picture}}
-

Notre Histoire

-

+

{{ __('Notre Histoire') }}

+
{!! clean(nl2br($encart_home->text)) !!} -

+

- En savoir plus + {{ __('En savoir plus') }}

@@ -105,4 +105,4 @@ @endif -@endsection \ No newline at end of file +@endsection