Highlight search terms on search result page

Can we move this into the model?