diff options
author | Stan Hu <stanhu@gmail.com> | 2016-01-21 10:48:56 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-01-21 10:48:56 +0300 |
commit | f121d2d8f841dcc430eb2d30007fd506a1a06a04 (patch) | |
tree | 726b04ac79619d191ec0ada97ad81e06fabd9ff6 /app/views/search | |
parent | 1553c560e0d02e670b7cec2b443545e67418b569 (diff) |
Fix Error 500 when doing a search for merge requests
Potential fix for #11547
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/results/_merge_request.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/results/_merge_request.html.haml b/app/views/search/results/_merge_request.html.haml index 2efa616d664..faeb2b55c6f 100644 --- a/app/views/search/results/_merge_request.html.haml +++ b/app/views/search/results/_merge_request.html.haml @@ -6,7 +6,7 @@ - if merge_request.description.present? .description.term = preserve do - = search_md_sanitize(markdown(merge_request.description)) + = search_md_sanitize(markdown(merge_request.description, { project: merge_request.project })) %span.light #{merge_request.project.name_with_namespace} .pull-right |