## TODO: Show labels only if there is a matching label

#newSearchResultContentLink($searchResult)#if ($searchResult.type == "userinfo") ($htmlUtil.htmlEncode($searchResult.extraFields.username))#end

#set ($webInterfaceContext = $action.getWebInterfaceContext($searchResult)) #set ($primaryItems = $webInterfaceManager.getDisplayableItems("system.search/result.primary", $webInterfaceContext)) #if ($searchResult.type == "attachment" || $primaryLinks.size()) #end #if ("true" == $showExcerpts)

$action.getSummaryForResult($searchResult)

#end #if ($searchResult.type != "spacedesc" && $searchResult.type != "personalspacedesc") #end