This commit is contained in:
Kekskurse 2021-01-20 01:17:34 +01:00
parent 3c4386250a
commit 2ea50cb4aa
2 changed files with 3 additions and 1 deletions

View file

@ -56,6 +56,8 @@ class PublicController extends BaseController
abort( 404); abort( 404);
} }
$gallery->html = $parser->parse($gallery->description);
return view("themes.gallery.gallery-detail.list", ["gallery" => $gallery, "tenant" => $tenant, "images" => $images]); return view("themes.gallery.gallery-detail.list", ["gallery" => $gallery, "tenant" => $tenant, "images" => $images]);
} }

View file

@ -17,7 +17,7 @@
<div class="col-md-2"></div> <div class="col-md-2"></div>
<div class="col-md-4"> <div class="col-md-4">
<h1>Gallery: <?php echo $gallery->name; ?></h1> <h1>Gallery: <?php echo $gallery->name; ?></h1>
<p><?php echo $gallery->description; ?></p> <p><?php echo $gallery->html; ?></p>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<h1 id="filename"></h1> <h1 id="filename"></h1>