Skip to content

Commit

Permalink
fix config key for search skipper
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Oct 20, 2023
1 parent c0783fc commit e0be2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Livewire/SearchHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function parsing(string $content, array $words): string
{
// Skip highlighting of search terms when specific tags e.g.
// <iframe> exists in the content so no html breaks:
foreach (config('zeus-sky.getSkipHighlightingTerms') as $skipper) {
foreach (config('zeus-sky.skipHighlightingTerms') as $skipper) {
if (str_contains($content, $skipper)) {
return $content;
}
Expand Down

0 comments on commit e0be2ed

Please sign in to comment.