Skip to content

Commit df79893

Browse files
authored
Merge commit from fork
escape string state
2 parents 2f77c66 + 9f527a4 commit df79893

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: packages/infolists/resources/views/components/color-entry.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
'cursor-pointer' => $itemIsCopyable,
4444
])
4545
@style([
46-
"background-color: {$state}" => $state,
46+
'background-color: ' . e($state) => $state,
4747
])
4848
></div>
4949
@endforeach

Diff for: packages/tables/resources/views/columns/color-column.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
'cursor-pointer' => $itemIsCopyable,
4646
])
4747
@style([
48-
"background-color: {$state}" => $state,
48+
'background-color: ' . e($state) => $state,
4949
])
5050
></div>
5151
@endforeach

0 commit comments

Comments
 (0)