Exact code search results not displaying newlines

Summary

Exact code search results are not showing newlines in code. Each result shows code which is squashed onto one line

Steps to reproduce

perform a search for any code in a namespace which has exact code search (zoekt) enabled

What is the current bug behavior?

this search showed the issue

https://gitlab.com/search?scope=blobs&search=zoekt&group_id=9970&project_id=278964

image

What is the expected correct behavior?

newlines should be displayed properly

Relevant logs and/or screenshots

Possible fixes

This bug is due to a change in how newlines are handled coming from zoekt webserver.

The fix is to deploy and release an updated version of zoekt web server