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:
commit
406c912496
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue