From c09cfbe479b83fca65efc2d09e84d8ea9313cb5b Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 17 May 2024 01:54:20 +0200 Subject: [PATCH] remove script protection --- resources/views/components/row.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/components/row.blade.php b/resources/views/components/row.blade.php index aeab09902..31f9855ec 100644 --- a/resources/views/components/row.blade.php +++ b/resources/views/components/row.blade.php @@ -30,7 +30,7 @@ @php $content = $row->{$column->field} ?? ''; $contentClassField = $column->contentClassField != '' ? $row->{$column->contentClassField} : ''; - $content = preg_replace('#(.*?)#is', '', $content ?? ''); + $field = $column->dataField != '' ? $column->dataField : $column->field; $contentClass = $column->contentClasses;