diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-21 10:17:19 -0500 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-04-27 13:22:17 +0200 |
commit | 4f2d6b3e21911ab29ae18dff1be909d94f3127ed (patch) | |
tree | ea7186401f4b0fa02970c55f788b1dabeb2a247a /app/views/search | |
parent | 05e0f504530a162d4bcb886adf504c12cffd5934 (diff) | |
download | gitlab-ce-4f2d6b3e21911ab29ae18dff1be909d94f3127ed.tar.gz |
Refactor MarkupHelper
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/results/_snippet_blob.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/results/_snippet_blob.html.haml b/app/views/search/results/_snippet_blob.html.haml index f84be600df8..f2fe5742c12 100644 --- a/app/views/search/results/_snippet_blob.html.haml +++ b/app/views/search/results/_snippet_blob.html.haml @@ -21,7 +21,7 @@ .file-content.wiki - snippet_chunks.each do |chunk| - unless chunk[:data].empty? - = render_markup(snippet.file_name, chunk[:data]) + = markup(snippet.file_name, chunk[:data]) - else .file-content.code .nothing-here-block Empty file |