debian-mirror-gitlab/app/views/projects/blob/viewers/_markup.html.haml
2019-01-03 12:48: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)