Snippet search show "Empty file" if query is two words
Summary
For searching snippets, if two words (e.g. foo bar
) is used as search term, search results does not display file content.
Steps to reproduce
At the snippet search page, type two words as search term: https://gitlab.com/search?utf8=%E2%9C%93&snippets=true&scope=&repository_ref=&search=foobar+title
Example Project
(Personal snippet is unrelated to projects)
What is the current bug behavior?
Search results do not display content.
What is the expected correct behavior?
Search results display content.
Output of checks
This bug happens on GitLab.com