From 2ea50cb4aa5ac76a9b84f75bba45a876159c9fc4 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Wed, 20 Jan 2021 01:17:34 +0100 Subject: [PATCH] Stuff --- app/Http/Controllers/PublicController.php | 2 ++ resources/views/themes/gallery/gallery-detail/list.blade.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/PublicController.php b/app/Http/Controllers/PublicController.php index d2dd656..76e4914 100644 --- a/app/Http/Controllers/PublicController.php +++ b/app/Http/Controllers/PublicController.php @@ -56,6 +56,8 @@ class PublicController extends BaseController abort( 404); } + $gallery->html = $parser->parse($gallery->description); + return view("themes.gallery.gallery-detail.list", ["gallery" => $gallery, "tenant" => $tenant, "images" => $images]); } diff --git a/resources/views/themes/gallery/gallery-detail/list.blade.php b/resources/views/themes/gallery/gallery-detail/list.blade.php index fe85ad5..bd60886 100644 --- a/resources/views/themes/gallery/gallery-detail/list.blade.php +++ b/resources/views/themes/gallery/gallery-detail/list.blade.php @@ -17,7 +17,7 @@

Gallery: name; ?>

-

description; ?>

+

html; ?>