expand macros in the synopsis shown by the Search asset
This commit is contained in:
parent
c4255305c0
commit
f4db27c76b
3 changed files with 11 additions and 7 deletions
|
|
@ -217,8 +217,10 @@ sub view {
|
|||
#Add highlighting
|
||||
$properties->{'title' } = $hl->highlight($properties->{title} || '');
|
||||
$properties->{'title_nohighlight' } = $properties->{title};
|
||||
$properties->{'synopsis' } = $hl->highlight($properties->{synopsis} || '');
|
||||
$properties->{'synopsis_nohighlight'} = $properties->{synopsis};
|
||||
my $synopsis = $properties->{'synopsis'} || '';
|
||||
WebGUI::Macro::process($self->session, \$synopsis);
|
||||
$properties->{'synopsis' } = $hl->highlight($synopsis);
|
||||
$properties->{'synopsis_nohighlight'} = $synopsis;
|
||||
push(@results, $properties);
|
||||
$var{results_found} = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue