debian-mirror-gitlab/app/views/projects/blob/viewers/_markup.html.haml
2018-11-20 20:47:30 +05:30

6 lines
257 B
Text

- blob = viewer.blob
- context = legacy_render_context(params)
- unless context[:markdown_engine] == :redcarpet
- context[:rendered] = blob.rendered_markup if blob.respond_to?(:rendered_markup)
.file-content.wiki
= markup(blob.name, blob.data, context)