search: Remove newlines from query used for tab_content. (#3976)

Fixes https://github.com/zed-industries/community/issues/2388
Release Notes:

- Fixed tab content of project search overflowing the tab for queries
with newlines.
d374953180Piotr Osiewicz committed on 1/9/2024, 4:16:25 PM· committed by GitHubparentf0ef63b
1 file changedLine totals unavailable