When a user searches on my wordpress site, the_excerpt is called to display the search results, however all new lines from my original post are removed. I have tried modifying the wp_trim_excerpt function, however the $text passed to this function already has all new lines removed.
Essentially, I want the_excerpt to retain new lines from my blog post when displaying the results information.
Does anyone know how to do this?