diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 7c9db174d..6d7ae7880 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.10.25 + - fixed: #12373: Asset::Wobject::Search::view() so HTML highlite not broken by search phrase with unmatched char pairs - fixed: if user1 adds user2 as a friend, user2 doesn't see user1 as a friend - fixed: data sync bug in WebGUI::User::friends - added: give WebGUI::PseudoRequest a hostname method diff --git a/lib/WebGUI/Asset/Wobject/Search.pm b/lib/WebGUI/Asset/Wobject/Search.pm index 4846e3c4f..709aaacbd 100644 --- a/lib/WebGUI/Asset/Wobject/Search.pm +++ b/lib/WebGUI/Asset/Wobject/Search.pm @@ -199,7 +199,7 @@ sub view { $search->search(\%rules); #Instantiate the highlighter - my @words = grep { $_ ne '' } map { tr/+?*//d; $_; } split(/\s+/,$keywords); + my @words = grep { $_ ne '' } map { tr/+?*:()[]{}//d; $_; } split(/\s+/,$keywords); my @wildcards = map { "%" } @words; my $hl = HTML::Highlight->new( words => \@words,