Merge branch 'fix-error-500-mr-search' into 'master'

Fix Error 500 when doing a search for merge requests

Potential fix for #11547

See merge request !2525
This commit is contained in:
Dmitriy Zaporozhets 2016-01-22 18:14:10 +00:00
commit 406c912496

View file

@ -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