From bcca56b8c1bb5e51ea1e57edd89831263e026094 Mon Sep 17 00:00:00 2001 From: 199ocero <199ocero@gmail.com> Date: Mon, 8 Jan 2024 20:06:35 +0800 Subject: [PATCH] fix allow html always true --- .../views/infolists/components/activity-description.blade.php | 2 +- resources/views/infolists/components/activity-title.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/infolists/components/activity-description.blade.php b/resources/views/infolists/components/activity-description.blade.php index 52cb645..cd18133 100644 --- a/resources/views/infolists/components/activity-description.blade.php +++ b/resources/views/infolists/components/activity-description.blade.php @@ -1,5 +1,5 @@
- @if($isHtmlAllowed) + @if ($isHtmlAllowed()) {!! $getState() ?? $getPlaceholder() !!} @else {{ $getState() ?? $getPlaceholder() }} diff --git a/resources/views/infolists/components/activity-title.blade.php b/resources/views/infolists/components/activity-title.blade.php index 3eb750e..2cf0d6d 100644 --- a/resources/views/infolists/components/activity-title.blade.php +++ b/resources/views/infolists/components/activity-title.blade.php @@ -1,5 +1,5 @@