Commit 27cc1253 authored by Fabio Pitino's avatar Fabio Pitino

Merge branch 'issue_342492_create_from_vulnerability_data_service' into 'master'

Pass formats explicitly when rendering .md file

See merge request gitlab-org/gitlab!75779
parents bff05c9a d0a56f25
...@@ -36,6 +36,7 @@ module Issues ...@@ -36,6 +36,7 @@ module Issues
def render_description(vulnerability) def render_description(vulnerability)
ApplicationController.render( ApplicationController.render(
template: 'vulnerabilities/issue_description', template: 'vulnerabilities/issue_description',
formats: :md,
locals: { vulnerability: vulnerability } locals: { vulnerability: vulnerability }
) )
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment