Skip to content

Commit

Permalink
remove script protection
Browse files Browse the repository at this point in the history
  • Loading branch information
dansysanalyst committed May 16, 2024
1 parent 3740269 commit c09cfbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/row.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
@php
$content = $row->{$column->field} ?? '';
$contentClassField = $column->contentClassField != '' ? $row->{$column->contentClassField} : '';
$content = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $content ?? '');
$field = $column->dataField != '' ? $column->dataField : $column->field;
$contentClass = $column->contentClasses;
Expand Down

0 comments on commit c09cfbe

Please sign in to comment.