debian-mirror-gitlab/app/views/projects/blob/viewers/_markup.html.haml

7 lines
257 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- blob = viewer.blob
2018-11-20 20:47:30 +05:30
- context = legacy_render_context(params)
- unless context[:markdown_engine] == :redcarpet
- context[:rendered] = blob.rendered_markup if blob.respond_to?(:rendered_markup)
2019-01-03 12:48:30 +05:30
.file-content.wiki
2018-11-20 20:47:30 +05:30
= markup(blob.name, blob.data, context)